Skip to main content
Glama

Get a lookup's status and records

get_lookup
Read-only

Check a lookup started with submit_lookup. The status is queued, running, done or failed. When done, the result holds the records with their provenance and a notice. A failed lookup carries a reason and no records. The absence of a record is not evidence that an event did not occur. Results are kept for 30 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookup_idYesThe lookup_id from submit_lookup

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it discloses the status lifecycle, what the result contains when done (records with provenance and a notice), the failure shape (reason, no records), the 30-day retention limit, and an important interpretive caveat that a missing record is not proof an event didn't occur.

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?

Short declarative sentences, front-loaded with the core action and status values; each subsequent sentence adds a distinct fact (result shape, failure shape, caveat, retention) with no padding.

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 carries the return-value burden and does so: status values, result contents, failure contents, and retention window. Combined with the annotations, an agent has everything needed to call and interpret this tool.

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 description coverage is 100%, so lookup_id is already fully documented in the schema. The description only reiterates its origin ('from submit_lookup'), adding no new syntax or constraint information. 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 (check) and resource (a lookup started with submit_lookup), and immediately enumerates the status domain (queued, running, done, failed). It is unmistakably distinct from the sibling submit_lookup, which starts the lookup rather than polling it.

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?

Ties use to the sibling explicitly ('a lookup started with submit_lookup'), so the agent knows this is the follow-up/polling step after submit_lookup. It stops short of stating when not to call it (e.g., don't poll before completion) but the context is clear.

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