Invoke Search Tool MCP response
MCP tool response returned by the Invoke Search Tool MCP tool.
- Returned by: Invoke Search Tool MCP tool
- Response type: Structured wrapper response in
describemode, or the selected search tool's normal MCP response incallmode
Response Shape
Invoke_Search_Tool returns different content based on mode.
| Mode | Shape |
|---|---|
describe | Structured content with mode, tool_name, tool, and documentation. |
call | The selected search tool's normal MCP response, including any structured content, text, validation errors, or billing and access errors produced by that tool. |
In describe mode, tool is the selected search tool's live MCP descriptor, including name, description, inputSchema, and annotations. documentation contains exact GovTribe Docs content for the selected search tool and its response payload.
In call mode, the wrapper does not add an extra response envelope or translate selected-tool output. For represented typed Search_* results, clients can read the search-results envelope from structuredContent; content[0].text remains parseable JSON with the same payload for compatibility.
Follow-up Behavior
Use describe before the first call for a selected search tool. If the agent needs query-construction guidance, call the Documentation MCP tool first, then use describe to retrieve the selected tool schema and documentation.
When call returns a validation error, adjust arguments to match the selected search tool schema. The wrapper does not translate selected-tool filters, sorts, aggregations, or field names.
Example
{
"mode": "describe",
"tool_name": "Search_Federal_Contract_Awards",
"tool": {
"name": "Search_Federal_Contract_Awards",
"description": "Searches GovTribe federal contract awards and returns award records with funding details, participants, and category links.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"search_mode": {
"type": "string",
"enum": [
"keyword",
"semantic"
]
}
}
}
},
"documentation": {
"query": null,
"result_count": 2,
"content_markdown": "Exact selected-tool documentation.",
"results": []
}
}