Skip to main content
Glama

register_popia_io

Registra um Information Officer formal no popia_info_officer_registry program (POPIA §55, África do Sul). Server wallet assina como Responsible Party. Retorna tx signature + appointment PDA. Para produção use SDK; tool é pra validação dev/devnet.

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": {
      "informationOfficer": "<informationOfficer>",
      "contactHashHex": "<contactHashHex>"
    },
    "name": "register_popia_io"
  }
}

Input Schema

NameRequiredDescriptionDefault
storageUriNoURI off-chain pra evidência da nomeação. Max 128 bytes.
contactHashHexYessha256 hex (32 bytes) dos contatos do IO — kept off-chain for POPIA Condition 4 minimization.
organizationIdNoID da organização (e.g., CIPC company number). Será sha256-hashed on-chain.
informationOfficerYesPubkey do Information Officer (base58).
organizationIdHashHexNo32-byte hash hex da organização (alternativa a organizationId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 behavioral burden. It usefully discloses that the server wallet signs as Responsible Party and that the return is a tx signature plus appointment PDA, but it says nothing about idempotency (what happens if an officer is already registered), gas/payment, or failure modes for a mutation.

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?

Three short sentences, front-loaded with the action and legal basis, then the signing model and return values, then the environment caveat. No filler; every clause carries information.

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 5-param mutation with no annotations and no output schema, the description covers the signer identity, the returned values, and the environment restriction, which is most of what an agent needs. Remaining gaps are duplicate-registration behavior and any per-call cost.

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 the sha256 hex contact hash (kept off-chain for POPIA Condition 4 minimization), the organizationId hashing, and the storageUri limit are already documented in the schema. The description adds no parameter-level meaning beyond implying the officer is identified on-chain.

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?

The description gives a specific verb ('Registra'), a specific resource ('Information Officer formal no popia_info_officer_registry program'), and anchors it to POPIA §55 for South Africa. An agent can distinguish this jurisdictional on-chain registration from sibling registrations such as register_ccpa_optout or register_retention_policy_onchain without inspecting 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 Guidelines4/5

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

It explicitly scopes the tool to dev/devnet validation and tells the agent not to use it in production ('Para produção use SDK'). That is a real when-not statement, but it never names a sibling tool or states prerequisites for the dev/devnet environment.

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