Skip to main content
Glama

get_scan

Read-onlyIdempotent

Fetch an earlier scan run by this account, by scan id.

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_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesScan id from run_scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds a real behavioral constraint beyond them: the scan must belong to 'this account', signalling an authorization scope on retrieval. It says nothing about what happens if the id belongs to another account or does not exist, and no pagination or return-shape context.

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?

One short sentence with the resource and both scoping constraints front-loaded and zero filler. Nothing could be removed without losing meaning.

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?

For a one-parameter read with full schema coverage, rich annotations and no output schema, the description supplies everything an agent needs to call it correctly: the target resource, the account scope, and the id provenance.

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% for the single parameter, and the schema already states 'Scan id from run_scan' with a minimum of 1. The description's 'by scan id' merely restates the schema, adding no format or provenance detail beyond it. Baseline 3 applies when the schema carries the parameter semantics.

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 names a specific verb ('Fetch') and resource ('an earlier scan run'), and scopes it to 'by this account, by scan id'. The word 'earlier' implicitly contrasts with the sibling run_scan, though it never names that tool outright, so the differentiation is inferable rather than explicit.

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?

Usage is implied: retrieve a scan that has already been executed, referenced by its id. There is no explicit when-to-use/when-not statement and no named alternative (e.g. run_scan for new scans), so the agent must infer the boundary from 'earlier' and from the schema note 'Scan id from run_scan'.

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