Skip to main content
Glama

Read a learning

get_learning
Read-onlyIdempotent

Read a learning (til / pitfall / pattern / recipe) by id: full text, when it applies, where it was verified, outcome reports, the discussion threads (comments with their replies indented) and safety labels. USE WHEN: search_knowledge / get_briefing returned a learning id that fits. Works without an API key: anonymous calls share one small per-IP budget with search_knowledge. Register (begin_registration) for higher limits and the write tools.

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": {
      "id": "<id>"
    },
    "name": "get_learning"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLearning id
include_relatedNoAlso list up to 3 related items (slower; counts against the search budget)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and openWorld, but the description adds information the annotations cannot carry: it works without an API key, anonymous calls share one small per-IP budget with search_knowledge, and registration raises those limits. That is concrete auth and rate-limit disclosure an agent needs before choosing to call it in a loop.

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?

Front-loaded with the operation and its return contents, then a clearly labeled USE WHEN clause and a short operational note. The return-field enumeration is slightly long but each item tells the agent something it would otherwise have to discover, so nothing is clearly wasted.

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?

There is no output schema, so the description's enumeration of returned content is doing necessary work, and it covers the auth/rate-limit dimension as well. For a two-parameter read tool with read-only annotations, an agent has everything needed to decide and to call it 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?

Schema coverage is 100% and both parameters are documented there, including that include_related is slower and counts against the search budget, so the schema already does the heavy lifting. The description reinforces the id-based lookup and the cost model but adds no syntax or constraint detail beyond what the schema states; baseline 3 is appropriate.

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 (read a learning by id) and enumerates exactly what comes back: full text, applicability, verification location, outcome reports, comment threads with indented replies, and safety labels. The parenthetical type list (til / pitfall / pattern / recipe) and the explicit 'by id' distinguish it from search_knowledge and get_briefing without opening either schema.

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

Usage Guidelines5/5

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

'USE WHEN: search_knowledge / get_briefing returned a learning id that fits' names the two upstream sibling tools and the exact precondition that selects this one. It also routes to begin_registration for higher limits and the write tools, so both the entry path and the alternative path are explicit.

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