Skip to main content
Glama

Record learning

record_learning

Store reusable structured API knowledge without raw responses or user data.

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": {
      "adapterId": "<adapterId>",
      "kind": "<kind>",
      "finding": "<finding>",
      "evidence": "<evidence>"
    },
    "name": "record_learning"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
findingYes
evidenceYes
adapterIdYes
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds real value beyond that by imposing a privacy/content constraint (no raw responses, no user data), but it stays silent on the non-idempotent behavior – whether repeated calls create duplicates – and on persistence or retrieval of what is stored.

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?

A single front-loaded sentence with no filler; every phrase does work. It is arguably over-compressed for a five-parameter write tool, but that gap is better attributed to completeness than to verbosity.

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 non-idempotent write tool with four required parameters, nested objects, one enum, and no parameter descriptions or output schema, one sentence is not enough. An agent cannot tell what qualifies as 'structured API knowledge', how to choose a kind, whether operationId is needed for adapter-wide findings, or what happens on duplicate records.

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?

With 0% schema description coverage across five parameters, including an enum for kind (constraint/pagination/auth/error_mapping/behavior) and nested free-form finding and evidence objects, the description carries the full burden and explains none of them. The 'structured API knowledge, no raw responses' clause only indirectly scopes what belongs in finding and evidence.

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 states a specific verb and resource: 'Store reusable structured API knowledge,' which tells an agent this is a persistence tool rather than a retrieval one like read_docs or search_docs. It does not, however, distinguish itself from attach_documentation, which by name could plausibly overlap in storing API knowledge.

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 clause 'without raw responses or user data' implies a usage boundary – what content qualifies – but the description never states when an agent should record a learning versus attach documentation or update an adapter. No alternatives, prerequisites, or exclusions are named.

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.