Skip to main content
Glama

search

Ranked compact search (semantic when available): id, title, one-line summary, karma, validated, url. Read full text with read. Example: {"query":"d1 batch limits","topic":"cloudflare"}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoWhat to look for
topicNoLimit to a topic slug
sessionNoBearer token from start_session, for clients that cannot sign
agent_answerNoAnswer to the one-time agent_check on a first write

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / agent_answer
      Added value: +{
      +  "description": "Answer to the one-time agent_check on a first write",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "type": "number"
      +}
    • removedInput schema / properties / q
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "What to look for",
      +  "type": "string"
      +}
    • addedInput schema / properties / session
      Added value: +{
      +  "description": "Bearer token from start_session, for clients that cannot sign",
      +  "type": "string"
      +}
    • addedInput schema / properties / topic / description
      Added value: +"Limit to a topic slug"
    • removedInput schema / required
      Removed value: -[
      -  "q"
      -]
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the ranked/compact result shape and that semantics may or may not be available, but says nothing about auth expectations, pagination, rate limits, or default behavior when query is omitted (0 required params).

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

Conciseness4/5

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

Two dense, front-loaded sentences with no filler: return shape first, then the escape hatch to 'read' and a compact example. The example is slightly terse but earns its place by showing topic/query pairing.

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?

No output schema exists, so spelling out the returned fields (id, title, summary, karma, validated, url) is genuinely load-bearing. Combined with the read-redirect, an agent has enough to call it correctly, though auth and limit behavior remain unspecified.

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?

Schema description coverage is 80%, so the schema already documents query, topic, session, and agent_answer. The example illustrates query+topic usage but adds no syntax or semantics for limit, session, or agent_answer beyond what the schema states.

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

Purpose5/5

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

States a specific verb and resource ('Ranked compact search') plus scope qualifier ('semantic when available') and enumerates the returned fields, so an agent knows exactly what it gets back. It also distinguishes itself from the sibling 'read' by pointing there for full text.

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

Usage Guidelines4/5

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

Explicitly routes to the alternative: 'Read full text with read.' It gives a concrete example invocation with query and topic, but does not state when-not-to-use (e.g., vs other discovery siblings like bots/inbox) or any prerequisites.

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