Skip to main content
Glama

Read audit evidence

read_audit_evidence
Read-onlyIdempotent

Read complete retained evidence from a free audit run, including full AI answers, sources, product records and findings. Discovers named collections, then returns selected records with explicit pagination and availability. Reads only; never starts collection or spends audit allowance.

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": {
      "audit": "<audit>",
      "runId": "<runId>"
    },
    "name": "read_audit_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
auditYes
limitNoInteger from 1 to 100 child records. Strings use 10,000-character pages.
runIdYesA returned run id, from 1 to 100 characters.
storeNoThe connected store to use. Omit when only one is connected.
domainNoThe Shopify storefront to check, e.g. example.com. Required until a store is connected; afterwards, omit it to use a connected store.
offsetNoNon-negative integer; use the previous page’s nextOffset.
recordIdNoA returned JSON-pointer record id; maximum 2,000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds real context beyond that: evidence is retained/complete, availability is surfaced, pagination is explicit, and no audit allowance is consumed. The two-stage discover-then-read flow is behavioral information the annotations cannot convey. It does not describe error or empty-collection behavior, which keeps it from a 5.

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 compact sentences with the read scope, the content covered, the discover-then-fetch flow and the side-effect boundary front-loaded in that order. No restated title, no filler, nothing that duplicates structured fields verbatim.

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 7-parameter tool with no output schema, the description covers scope, what is returned, pagination and the no-side-effect guarantee, which is most of what an agent needs. The remaining gap is that the per-audit collection vocabulary and what 'availability' means in a response are left to the enum and schema rather than explained.

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 description coverage is 86%, so the schema already documents audit, runId, store, domain, limit, offset and recordId in detail. The description adds only the framing that records are 'selected' and paginated with 'availability', which loosely maps to recordId/offset/limit without adding syntax beyond the schema. Baseline 3 is appropriate.

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?

Uses a specific verb and resource ('Read complete retained evidence from a free audit run') and enumerates what that evidence includes: full AI answers, sources, product records and findings. The two-phase behavior (discover named collections, then return selected records) is stated, so an agent knows the shape of the operation. It stops short of naming a sibling such as get_store_audit_result, so differentiation is implied via the 'never starts collection' clause rather than stated.

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?

'Reads only; never starts collection or spends audit allowance' implies the read-vs-run split against the run_* audit siblings, and the mention of explicit pagination hints at iterative paging. There is no explicit when-to-use statement or named alternative (e.g. list_audit_runs for run enumeration, get_store_audit_result for summaries), leaving the routing to inference.

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.