Skip to main content
Glama

Meirra API

Run site audit

run_site_audit

Start a site audit of up to options.depth pages (default 10, at most 100) of one site; the price depends on the page count. Returns a jobId straight away; call get_job with it for the audit. Spends credits from the prepaid API wallet at the same price as the REST call; the result states cost_pence and balance_after.

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": {
      "url": "<url>"
    },
    "name": "run_site_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
optionsNo
idempotency_keyNoOptional. Send the same key to retry this call safely: a repeat with the same key and arguments within 24 hours returns the first result and is not billed again. Without a key, every call is billed.

Output Schema

NameRequiredDescriptionDefault
dataYes
currencyYesThe wallet currency of cost_pence and balance_after.
cost_penceYesWhat this call debited; 0 when it ran but was not charged, in whole wallet pence.
balance_afterYesThe API wallet balance after this call, in whole wallet pence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds a lot the annotations do not carry: asynchronous job semantics with a follow-up tool, a page-count default (10) and ceiling (100), price varying with page count, and billing against a prepaid wallet with `cost_pence` and `balance_after` in the result. The opt-in idempotency_key is also surfaced, which usefully qualifies the idempotentHint=false annotation rather than contradicting it.

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?

Two dense sentences, front-loaded with what is started and how it returns, then cost. The semicolon-chained clauses make it slightly run-on, but no sentence is 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?

For an open-world, billable, asynchronous tool this covers the essentials an agent needs to call it correctly: the async handoff to get_job, the credit implications, the depth bounds, and confirmation that cost and balance appear in the result. Return shape is otherwise covered by the output schema.

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?

With only 33% schema coverage, the description must compensate, and it does for the key one: `options.depth` gets a default (10), a cap (100), and a stated consequence ('the price depends on the page count'). `url` and `idempotency_key` are left to the schema, with the latter already well documented there.

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 -- 'Start a site audit' -- and scopes it ('of one site', page-capped). The agent knows exactly what is initiated and that a jobId comes back. It does not differentiate from the sibling run_seo_report, which is the only residual ambiguity.

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 context for when to reach for it: the async pattern is spelled out ('Returns a jobId straight away; call get_job with it for the audit'), and the credit cost is flagged so the agent can weigh whether to call at all. No explicit when-not or alternative named, so it stops short of a 5.

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.

Resources