Skip to main content
Glama

Search AGP Protocol & Tool Docs

docs
Read-onlyIdempotent

Search AGP v2.1 built-in documentation for protocol contracts, error codes, two-way wakeup patterns, workspace leases, and tool schemas to resolve integration questions.

Instructions

Search built-in AGP v2.1 documentation: protocol contracts, error codes, two-way wakeup patterns (agp.listen, team_join, agp_ask), workspace leases, and tool schemas.

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": "docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesTopic, error code, or tool name to search (e.g. 'wakeup', 'lease', 'team_join', 'ERR_CIRCUIT_OPEN').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety and locality are covered structurally. The description's contribution is confirming the corpus is 'built-in' AGP v2.1 docs, but it says nothing about result format, ranking, or how the limit parameter affects output volume.

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?

A single front-loaded sentence with the verb first and the searchable content scoped by a compact list. No filler, no restatement of the title, and every clause carries information.

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?

This is a simple two-parameter read-only search with annotations covering the safety profile and no output schema to explain. The main residual gap is the undocumented `limit` parameter and the absence of any note on result shape, which keeps it just short of complete.

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 coverage is only 50%: `query` is documented with examples while `limit` is undocumented in both schema and description. The description does broaden the query topic space (error codes, leases, wakeup patterns), which helps formulate searches, but it never addresses `limit` or default behavior, so it only partly compensates for the coverage gap.

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?

The description states a specific verb and resource ('Search built-in AGP v2.1 documentation') and enumerates the covered content: protocol contracts, error codes, wakeup patterns, leases, and tool schemas. That scope makes it clearly distinct from the sibling protocol-operation tools such as agp_ask, agp_lease, or agp_discover without needing to name them.

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 implied by the listed content types (e.g. look up an error code or tool schema here), but there is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives like agp_discover for live protocol state. An agent can infer the intent, but the definition does not settle the choice for it.

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