Skip to main content
Glama

Get a check

get_check
Read-onlyIdempotent

Read one check by id. Read-only, safe to call again to poll. Returns status: awaiting_verification (includes the one-line file the repo owner must add, then nothing runs until they do), queued, running, done, no_leaks, needs_review or failed. When finished it also returns the summary (each finding with severity, CWE/OWASP and days open), the plain-English report (report_md) and the tested fix (fix_sql), plus the event timeline. Use after start_check; poll every minute or so while queued or running. If the id is lost, it is the id= value in the check link that start_check returned and emailed to the report address.

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": {
      "check_id": "<check_id>"
    },
    "name": "get_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_idYesThe check id that start_check returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / check_id / description
      Previous value: -"The check id that start_check or run_check returned"New value: +"The check id that start_check returned"
  2. Changed1 schema field changed
    • addedInput schema / properties / check_id / description
      Added value: +"The check id that start_check or run_check returned"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses the full status lifecycle including that awaiting_verification blocks all execution until the repo owner adds the file, and that queued/running are poll-worthy intermediate states. It also enumerates what is returned on completion (summary findings with severity/CWE/OWASP/days open, report_md, fix_sql, event timeline).

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 and safety, then statuses, then outputs, then polling guidance. The status enumeration is a single long sentence and slightly dense, but every clause conveys operative information an agent needs to interpret results.

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 fully: status values, completed-result fields, and the timeline. Combined with the id-recovery note, nothing an agent needs to call and interpret this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and there is one documented parameter, so the baseline is 3; the description goes further by explaining where the check_id comes from (the id= value in the check link that start_check returned and emailed to the report address). That origin detail is genuinely beyond the schema's "check id that start_check returned".

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 ("Read one check by id") and immediately scoping it as a single-item read, which contrasts with the sibling start_check that creates a check. An agent can tell this apart from start_check/headers_check/rls_check 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 when-to-use ("Use after start_check"), a concrete polling cadence ("poll every minute or so while queued or running"), and a recovery path when check_id is lost (the id= value in the link start_check returned and emailed). This is close to a complete usage contract.

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.