Skip to main content
Glama

Read source inspection status

get_source_inspection
Read-onlyIdempotent

Reads one source inspection by session_id and probe_id, waiting up to wait_seconds (default 20) for a queued inspection to settle. Returns bounded evidence with status queued, complete, truncated or failed. A worker can take a few minutes to start, so while it is queued, call again with the same ids without asking the person; an inspection that will never run reads as failed. After about 10 minutes still queued, stop and tell the person it never started. A missing legacy endpoint is reported as capability unavailable and is not emulated. An inspection started with archive_members returns archive_members (the member names, trimmed from the end when long; members_omitted reports how many were dropped), archive_member_count and archive_directory_truncated: build an archive.zip recipe with one of the listed names as its member.

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": {
      "session_id": "<session_id>",
      "probe_id": "<probe_id>"
    },
    "name": "get_source_inspection"
  }
}

Input Schema

NameRequiredDescriptionDefault
probe_idYes
session_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "maximum": 20,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the readOnly/idempotent annotations: wait_seconds default of 20 (the schema has no default), the four possible status values, bounded/truncated evidence, queued-then-failed semantics, and legacy endpoints reported as capability unavailable rather than emulated. The only gap is that "bounded evidence" for non-archive inspections is left vague.

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 purpose, then polling rules, then failure modes, then archive-specific return fields — a sensible order with little padding. The closing archive.zip sentence is dense and slightly hard to parse, but it earns its place by telling the agent how to use archive_members.

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?

With no output schema, the description compensates well by naming status values and the archive return fields (archive_members, members_omitted, archive_member_count, archive_directory_truncated). It omits what the payload looks like for non-archive inspections, which is the main remaining gap.

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 0%, so the description carries the burden. It supplies the wait_seconds default and treats the two ids as re-usable keys, but never explains where session_id and probe_id come from or how they relate, leaving half the required semantics to inference.

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 plus the exact lookup keys: "Reads one source inspection by session_id and probe_id". The phrasing "an inspection started with archive_members" implicitly separates it from start_source_inspection and get_source_probe, so an agent can place 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 Guidelines5/5

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

Gives explicit polling instructions: re-call with the same ids while queued without asking the person, and stop after about 10 minutes to report it never started. That is both when-to-use and when-to-stop guidance, which is rare and directly actionable.

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