Skip to main content
Glama
aeoess

agent-passport-system-mcp

aps_build_contributor_query

Generate per-axis proof data (total weight, contribution count, merkle path, axis root) from a signed SettlementRecord for a contributor DID, enabling third-party verification without trusting the gateway beyond its public key.

Instructions

Build a contributor-query response: given a signed SettlementRecord and a contributor DID, return per-axis (total_weight, contribution_count, merkle_path, axis_root) plus the full signed record so a third party can verify the contributor's share end-to-end without trusting the gateway beyond its public key. Returns null if the contributor has no share in the period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordNoA signed SettlementRecord
contributor_didYesContributor DID (data source, compute provider, governance signer, or protocol module identifier)
gateway_jwksNoAdvisory JWKS URL; not part of the signed material
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the null return for no share, and explains the output structure. It does not mention side effects or authorization, but the tool appears read-only. No contradictions with annotations (none exist).

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?

Two sentences: first covers purpose and outputs, second covers the null edge case. No wasted words, logically front-loaded.

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?

Given the complexity (3 params, no output schema, many siblings), the description is complete: it explains what the tool does, what it returns, and a null case. It could benefit from a usage example, but overall sufficient.

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%, but the description adds value by summarizing the inputs (signed SettlementRecord, contributor DID) and clarifying that gateway_jwks is advisory not part of signed material. This reinforces the schema descriptions.

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 clearly states 'Build a contributor-query response' and specifies the exact outputs (per-axis data plus signed record). It distinguishes itself from sibling tools by focusing on verification for a third party, which is unique among APS tools.

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?

The description provides clear context: given a signed SettlementRecord and contributor DID, it builds a verification response. It explains the use case (end-to-end verification without trusting gateway). However, it does not explicitly mention when not to use this tool or list alternatives like query_contributions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aeoess/agent-passport-system-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server