Skip to main content
Glama

Get audit

get_audit
Read-onlyIdempotent

Re-read an audit with its findings and evidence. Use generate_fix_prompt for correction steps. Re-reading costs nothing and does not count against the allowance; the page's HTML is not kept, but the report is.

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": {
      "guest_token": "<guest_token>",
      "id": "<id>"
    },
    "name": "get_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAudit ID, from `Audit.id`.
guest_tokenYesPrivate owner token returned by guest creation. Sent in X-Guest-Token; reuse it for this owner's resources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / guest_token / description
      Added value: +"Private owner token returned by guest creation. Sent in X-Guest-Token; reuse it for this owner's resources."
  2. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Audit ID, from `Audit.id`."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds genuinely new behavioral facts: the call is free and does not consume the quota allowance, and retention is partial — the page HTML is discarded while the report persists. That is exactly the kind of cost and data-lifetime context an agent cannot get from the structured fields.

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?

Three short sentences, each carrying distinct information in priority order: what it does, where to go instead, then cost and retention. No filler or repetition of the name or title.

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?

For a two-parameter read tool with no output schema, the description covers purpose, alternative routing, quota impact, and data retention, which is nearly everything an agent needs. It could briefly indicate what the returned report contains, but the retention sentence implicitly frames the return value.

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%, with both id and guest_token fully described in the schema including the X-Guest-Token header usage, so the baseline is 3. The description adds no further meaning about either parameter.

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?

States a specific verb and resource — 'Re-read an audit with its findings and evidence' — and the prefix 're-' signals retrieval of an existing audit rather than creating a new one, which separates it from audit_site/audit_url. It does not explicitly distinguish itself from the listed sibling get_api_x402_audit, so it stops short of a 5.

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?

Explicitly routes correction workflows to generate_fix_prompt, and 're-reading costs nothing and does not count against the allowance' tells the agent to prefer re-reading over re-running an audit. No exclusion is stated against other retrieval-style siblings, so it is clear but not exhaustive.

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.