Skip to main content
Glama

Compliance report for a ledger

compliance_report
Read-onlyIdempotent

An audit record of what was marked, when, with which layers and standard versions, for one ledger. Counts unique assets (a retry never adds one). Up to 5,000 assets per call: a larger ledger returns next_cursor, and each further page is a separate call and charge. Requires Authorization: Bearer <ledger token>; unknown ledgers and wrong tokens get the same 404, which is not charged. Price: 0.10 USDC. MCP tool: compliance_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": {
      "ledger_id": "<ledger_id>"
    },
    "name": "compliance_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAssets in this page (default and maximum 5,000). Each call is one priced report.
cursorNoContinue a large ledger: the `next_cursor` of the previous page. Omit for the first page.
ledger_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 64,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Continue a large ledger: the `next_cursor` of the previous page. Omit for the first page.",
      +  "title": "Cursor"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 5000,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Assets in this page (default and maximum 5,000). Each call is one priced report.",
      +  "title": "Limit"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses price (0.10 USDC), per-page charging, the Bearer token requirement, and that unknown ledgers and bad tokens both return an uncharged 404. It also clarifies that retries never double-count assets, reinforcing the idempotent behavior the annotations already claim.

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?

Dense but front-loaded: purpose first, then counting semantics, pagination, auth, price. The trailing 'MCP tool: compliance_report' is redundant with the name/title and earns nothing, a minor waste in an otherwise efficient description.

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 should carry the return-shape burden, and it partly does by naming next_cursor and the 404 case. It leaves the actual report payload (field breakdown of layers, versions, timestamps) unspecified, which is the main remaining gap.

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 67%, and the description adds real meaning: the 5,000 cap is framed as a per-call priced boundary with next_cursor continuation, and ledger_id is tied to the bearer token's scope. It does not add much about cursor format, but the schema already covers that.

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+resource combination ('audit record of what was marked, when, with which layers and standard versions') scoped to 'one ledger'. This is clearly distinguishable from the sibling list/scan/verify tools 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains pagination mechanics ('each further page is a separate call and charge') and the auth requirement, which guides how to call it. But it never says when to use this versus list_compliance_profiles or the verification siblings, and gives no explicit exclusions.

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