Skip to main content
Glama

Repolog

get_scan

Fetch a single scan by id. Defaults to the summary view: scores, per-category pass/warn/fail counts, the ranked top issues and — when the page has a keyword mapped to it — how it scored against that keyword. Enough to decide what to fix. Pass view="checks" for every individual check, or view="full" to also get the page's raw body text.

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": {
      "scanId": "<scanId>"
    },
    "name": "get_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo"summary" (default): scores, category counts, ranked top issues, and the target-keyword grade. "checks": adds every individual check, with the page's raw body text left out. "full": everything, including that body text — tens of thousands of tokens, and you can fetch the page yourself for less.
scanIdYesUUID of the scan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it enumerates what the default response contains, notes the conditional target-keyword grade, and warns that view="full" costs tens of thousands of tokens with a cheaper alternative. It omits error behavior for a missing/invalid scan and any auth or rate-limit notes.

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?

Front-loaded with the core action, then the default behavior, then the opt-in variants in cost order. Every clause conveys decision-relevant information; there is no filler.

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?

No output schema and no annotations exist, so the description must describe return values itself — and it does, per view, including the conditional keyword grade. Nothing an agent needs to call this correctly is missing.

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 enum description already details each view's payload and the token cost of "full," so the description largely restates it. The only genuine addition is task framing ("Enough to decide what to fix"), which is minor; 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 and resource ("Fetch a single scan by id") and immediately contrasts with the batch/listing siblings by describing the summary view's contents. An agent can distinguish this from list_scans or run_scan 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 clear when-to-use guidance per view: summary is "enough to decide what to fix," checks adds per-check detail, full adds body text at a token cost. It does not name sibling tools (e.g., get_fix_prompt as the natural next step), so it falls short of explicit alternative routing.

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.