Skip to main content
Glama

submit_hiroshima_icoc_attestation

Submete atestação on-chain de compromisso com Hiroshima International Code of Conduct (G7 voluntary code). Wrapper SDK pro programa Solana hiroshima_ai_process_attestation. Retorna tx signature + PDA. Atestação tem peso simbólico (voluntary code, não enforce statutory). Status atual: programa em deploy devnet (Sprint E Fase 3). Tool retorna program_not_deployed se SDK ainda não inicializado.

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": {
      "aiSystemId": "<aiSystemId>",
      "attestationType": "<attestationType>",
      "evidenceHashHex": "<evidenceHashHex>"
    },
    "name": "submit_hiroshima_icoc_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
aiSystemIdYessha256 hex (32B) ou opaque ID do sistema AI
storageUriNoIPFS/ar:// URI da evidence bundle. Max 128 bytes.
validUntilNoUnix timestamp opcional de expiração
attestationTypeYesTipo de atestação. caio=DS-920 CAIO appointment, icoc=Hiroshima 11 principles commitment, etc.
evidenceHashHexYessha256 hex (32B) de bundle de evidence off-chain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return values (tx signature + PDA), the non-binding symbolic nature of the attestation, the current deployment status (devnet, Sprint E Phase 3), and a specific failure mode (program_not_deployed when the SDK is uninitialized). It omits auth/wallet requirements, fees, and idempotency, which keeps it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and resource, followed by return values and operational caveats in a compact run of sentences. The 'Sprint E Fase 3' detail is somewhat ephemeral, but the rest of the content earns its place.

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 five-parameter mutation tool with no output schema and no annotations, the description covers the essentials: what is written, what is returned, that it is symbolic rather than statutory, and the not-yet-deployed error state. Missing only operational details like signer requirements or whether a prior attestation can be superseded.

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 100%, so all five parameters including the attestationType enum are already documented in the schema. The description adds no parameter-level meaning beyond that (e.g., it does not explain how evidenceHashHex relates to storageUri), so the baseline 3 applies.

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: submitting an on-chain attestation of commitment to the Hiroshima International Code of Conduct, and names the underlying Solana program (hiroshima_ai_process_attestation). This clearly separates it from generic siblings like submit_compliance_attestation, though it never explicitly contrasts itself with submit_attestation_stellar or submit_lgpd_attestation.

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?

Usage is only implied: an agent can infer it should call this when recording a Hiroshima/G7 ICoC commitment rather than another framework. There is no explicit when-to-use/when-not guidance, no mention of prerequisites such as wallet setup, and no routing to sibling tools for other attestation types even though the schema's attestationType enum hints that other types exist.

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