Skip to main content
Glama

fetch_compliance_attestation

Lê (read-only) uma attestation PDA do compliance-registry. Aceita subject + commitmentHex OU subject + commitmentText (será hashed).

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": {
      "subject": "<subject>"
    },
    "name": "fetch_compliance_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYesSubject pubkey base58.
commitmentHexNoCommitment de 32 bytes (hex).
commitmentTextNoTexto a ser hashed (alternativa).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; it does disclose the read-only nature and the hashing behavior of commitmentText, which are non-obvious behavioral facts. It omits error/not-found behavior, whether both commitment params may be sent, and what the returned attestation contains.

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 short sentences, front-loaded with the read-only scope before the input-shape detail; nothing is padded. It is terse to the point that the reader must infer not-found behavior, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter read tool with full schema coverage and no output schema, the essentials are present, but the description never says what is returned on success or what an agent should expect when the PDA does not exist. That gap matters for an agent deciding how to chain this call.

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 adds genuine meaning beyond the schema by stating the two commitment inputs are alternatives (OU) and that commitmentText is hashed before lookup. It still does not clarify precedence or rejection if both are supplied.

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: reads (read-only) an attestation PDA from the compliance-registry, keyed by subject plus a commitment. That clearly separates it from the submit_*/revoke_* siblings, though no sibling is named explicitly.

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?

The description does define the two valid input shapes (subject + commitmentHex, or subject + commitmentText), which is real usage guidance for invocation. It gives no guidance on when to prefer this over fetch_composed_attestation or other fetch variants, and does not say what happens if no attestation exists.

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