Skip to content

Remove behavioral guidance from search responses #8

Description

@quackerd

Search responses currently append behavioral guidance through searchFollowupGuidance after receiving search results.

This is unnecessary and can be misleading in MCP clients that compose tools from multiple servers. For example, when Degoog's scrape tool is disabled via DEGOOG_MCP_DISABLE_SCRAPE, the MCP server appends No scrape tool is available on this MCP server. Use returned snippets, titles, URLs, related searches, and source metadata as the available evidence. to search results. This may cause models to prematurely stop trying to load pages for details when web loading is exposed by another standalone MCP server.

I think the search tool should return search results / data only instead of injecting guidance prompts and leave behavioral guidance to the model itself and system prompts. The fix can be as simple as removing/patching searchFollowupGuidance to return empty strings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions