Skip to main content
Glama

Learn API

Search the Learn docs

learn_search
Read-onlyIdempotent

Search the Learn API docs by plain words. Returns matching guide sections, pages, contract operations, examples and kits, each with the call that reads it. Use it when you don't know where something lives; when you do, call the specific tool directly.

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

Input Schema

NameRequiredDescriptionDefault
queryYesPlain words, for example "photo upload", "what changed" or "developerChat".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds the genuinely useful behavioral fact that results are heterogeneous (sections, pages, operations, examples, kits) and each carries the call needed to read it, framing this as a discovery/pointer tool. It omits ranking, result limits, and what happens with zero matches.

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 sentences, both load-bearing: the first defines scope and return content, the second gives the routing rule. The usage condition is front-loaded right after the purpose, with no filler or repetition.

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

Completeness5/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 carries the burden of describing returns and does so specifically, including the actionable 'call that reads it' detail. For a one-parameter, read-only search tool this is everything an agent needs to decide and invoke correctly.

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?

There is a single required parameter with 100% schema coverage including inline examples ("photo upload", "what changed", "developerChat"). The description's "by plain words" reinforces the schema's guidance but adds no new syntax or constraint information, so the baseline 3 applies.

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 ("Search the Learn API docs") and enumerates the return surface: guide sections, pages, contract operations, examples and kits, each with the call that reads it. It also distinguishes itself functionally from the specific tools (learn_contract, learn_guide, learn_kit) by routing agents that already know the location elsewhere.

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?

"Use it when you don't know where something lives; when you do, call the specific tool directly" gives an explicit when-to-use and when-not-to-use condition. The only shortfall is that it points at 'the specific tool' generically rather than naming a concrete alternative, so the agent must map the pointer to a sibling itself.

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.