Skip to main content
Glama

OceanAlt Pre-Payment Checks

Resolve an agent's chain of accountability (free)

resolve_agent_identity
Read-onlyIdempotent

Use when another AI agent asks you to pay it, or wants to pay you, and you have its agent id: this tells you who is accountable for that agent. Resolves the chain agent -> principal -> mandate -> credential -> wallet. Each link reports whether it holds; completeness counts how many do (a factual count, not a score). Wherever the chain breaks is where accountability stops. Publication is opt-in and only posture is exposed (that a spending ceiling exists, never its value), so found:false means the agent has not published — absence of information, not a bad signal. This checks the agent, not the payee address. Free, no API key.

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": {
      "agentId": "<agentId>"
    },
    "name": "resolve_agent_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe other agent's OceanAlt agent id, as that party gave it to you (for example in a payment request or its x-agent-id header). Case-sensitive; pass it unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agentId / description
      Previous value: -"The agent id to resolve."New value: +"The other agent's OceanAlt agent id, as that party gave it to you (for example in a payment request or its x-agent-id header). Case-sensitive; pass it unchanged."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description explains how the chain is resolved, what completeness means (a factual count, not a score), that a broken link marks where accountability stops, that publication is opt-in, and that only posture is exposed rather than ceiling values. It also clarifies that found:false is absence of information, not a negative signal, and that the call is free with no API key.

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?

The description is dense but front-loaded with the usage trigger and the core chain resolution before caveats. It could be trimmed slightly, especially the final 'Free, no API key' phrase that repeats the title's 'free' label, but most sentences carry useful behavioral 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?

With no output schema, the description does a good job of explaining the conceptual return values: per-link hold status, a completeness count, and the meaning of found:false. It does not specify the exact response structure, but it gives enough semantic context for an agent to interpret the result correctly.

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%, and the schema already explains that agentId is the other agent's OceanAlt id, is case-sensitive, and should be passed unchanged. The main description adds only that the caller has the agent id from the counterparty, so it does not meaningfully extend parameter semantics beyond the schema.

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 uses a specific verb and resource: it resolves the accountability chain for an agent id, tracing agent -> principal -> mandate -> credential -> wallet. It also clearly scopes the tool as checking the agent rather than the payee address, distinguishing it from address- or payment-request-oriented siblings.

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 gives a concrete trigger: use when another agent asks you to pay it or wants to pay you and you have its agent id. It also states a scope exclusion ('checks the agent, not the payee address'), though it does not name alternative sibling tools or explain when another screening tool would be preferable.

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.