Skip to main content
Glama

Get audit result

get_store_audit_result
Read-onlyIdempotent

Read the latest full audit: status, result card and report links. Quick checks are previews, not completed audits. A previous successful report is linked separately when the latest run has not completed. Reading starts nothing. waitSeconds waits up to 50 seconds for a running report.

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>"
    },
    "name": "get_store_audit_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
auditYesThe diagnostic’s id.
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.
waitSecondsNoDefault 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the bar is lower; the description still adds value by asserting 'Reading starts nothing' and by disclosing that waitSeconds blocks for up to 50 seconds awaiting a running report. The fallback behavior for incomplete runs is also stated, though error cases (no audit exists at all) are not covered.

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?

Five short sentences, each carrying distinct information, with the core purpose front-loaded and the less common details (fallback report, wait behavior) pushed later. No filler or restatement of the 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?

With no output schema, the description carries the burden of describing the return payload, and it does so at a useful level (status, result card, links). The main remaining gap is what the agent should expect or do when no audit has ever run for the given audit id.

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%, so the baseline is 3, but the description genuinely adds meaning the schema lacks: waitSeconds is only documented as 'Default 0' in the schema, whereas the description explains it waits up to 50 seconds for a running report, which tells the agent it is a blocking poll rather than a plain timeout.

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?

Names a specific verb and resource ('Read the latest full audit') and enumerates what comes back (status, result card, report links). It also scopes the read to the latest *full* audit, explicitly separating it from quick-check previews and from the separately linked previous successful report.

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 operating context: quick checks are previews rather than completed audits, so this tool is the one that returns a finished result, and the previous-report fallback tells the agent what to expect when the latest run is unfinished. It stops short of naming a specific sibling to use instead (e.g. list_audit_runs for history), so it is strong but not fully 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.