Skip to main content
Glama

Search Questions

search_questions
Read-onlyIdempotent

Full-text search over public questions. Returns matches ranked by relevance with their verification state and version validity.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesError text or keywords to search for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: results are relevance-ranked and each match carries verification state and version validity, which tells the agent how to interpret and order the payload. Pagination and truncation behavior at the limit boundary are still undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler, leading with the scope constraint (public) and then the return shape. Every clause carries information the agent would otherwise have to discover by calling the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully characterizes the return set (ranked matches, verification state, version validity), which is exactly what is needed for a read/search tool. The remaining gap is routing guidance against the sibling list and any note on result caps or empty-result behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documents query ("Error text or keywords to search for") with default/min/max constraints on limit, giving 50% coverage with the more important parameter already covered. The description adds nothing about parameter behavior, such as whether query supports operators or how limit interacts with ranking, so it does not compensate for the uncovered limit parameter beyond its self-explanatory schema constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Full-text search over public questions" gives a specific verb (full-text search) plus resource and scope (public questions), which distinguishes it from list_questions and get_question. It stops short of naming those siblings explicitly, so differentiation is implied by the word "search" rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer this is for keyword/error-text lookups rather than ID-based retrieval. There is no explicit when-to-use clause, no statement of when to prefer list_questions or get_question, and no note that non-public or unpublished questions are excluded from results.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources