Skip to main content
Glama

Look up a Learn request

learn_lookup_request
Read-onlyIdempotent

Retrieve a Learn request by ID to check if an unconfirmed test turn committed, is still running, or unavailable before resending. Returns committed replies verbatim without generating a new one.

Instructions

Look up a Learn request by its request id (GET /v1/requests/), as this project's test learner. Free: it never generates a reply. Use it after a test turn that was not confirmed, before sending anything again. It returns the committed reply word for word, or says the request is still running or unavailable. Show a committed reply exactly as written.

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": {
      "request_id": "<request_id>"
    },
    "name": "learn_lookup_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request id from the test turn (req_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, but the description adds real context beyond them: it is free and side-effect-free, it acts 'as this project's test learner' (identity/auth scoping), and it enumerates the possible outcomes (committed reply verbatim, still running, unavailable). With no output schema, that outcome disclosure is the main value-add.

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 verb and endpoint, then guidance, then return behavior; four short sentences with little waste. The closing directive 'Show a committed reply exactly as written' is a formatting instruction that is arguably extra but is cheap and actionable.

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?

For a single-parameter read tool with no output schema, the description covers what it returns and its three outcome states, plus identity scoping and cost. Only the naming of the alternative tool is absent, which is a minor gap given the explicit trigger condition.

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 the schema already documents request_id as the 'req_...' value, so the description's restatement adds only the origin hint ('from the test turn'). Baseline 3 is appropriate when the schema carries the parameter detail.

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 ('Look up a Learn request by its request id') and even names the underlying endpoint, GET /v1/requests/<id>. The clause 'it never generates a reply' separates it from the turn-sending sibling, so an agent can pick it without opening the schema.

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?

Gives a concrete trigger: 'Use it after a test turn that was not confirmed, before sending anything again,' which also implies the ordering relative to a retry. It does not name the alternative tool or state an explicit when-not, leaving that to inference from the 'never generates a reply' clause.

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