Skip to main content
Glama

Docs sections

docs_lookup
Read-onlyIdempotent

Read one to five exact section labels from the product docs index; missing sections are reported rather than fabricated.

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": {
      "labels": "<labels>"
    },
    "name": "docs_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelsYes
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish that this is a safe, read-only, idempotent operation. The description adds meaningful behavior: only 1–5 exact labels are read and missing sections are reported rather than fabricated. It does not explain the dashboard targeting/approval rules, idempotency behavior, or expectedRevision semantics.

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?

The description is a single, front-loaded sentence with no redundant wording. It efficiently states the action, scope, and missing-section behavior.

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

Completeness2/5

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

For a tool with dashboardId, idempotencyKey, and expectedRevision in its schema, plus only 25% schema description coverage, the description is incomplete. It does not explain why a docs lookup requires live-dashboard targeting or approval context, and it leaves two parameters entirely unexplained.

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

Parameters2/5

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

Schema description coverage is only 25%. The description clarifies the labels parameter as exact section labels and limits the count to 1–5, but it gives no meaning for idempotencyKey or expectedRevision. The dashboardId parameter is documented in the schema, but the description does not compensate for the remaining undocumented parameters.

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?

The description names a specific verb and resource: read section labels from the product docs index, with a 1–5 item scope. It implies exact-label lookup rather than search, but does not explicitly distinguish itself from the sibling docs_search tool.

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?

The phrase 'exact section labels' implies this tool should be used when the caller already knows the target labels, while missing sections are reported. However, there is no explicit guidance on when to use this instead of docs_search, nor any stated exclusions or 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.