Skip to main content
Glama

SweetAI — On-chain AI Agent Intelligence

Agent payment graph

get_a2a_relationships
Read-onlyIdempotent

Agent-to-agent payment graph: top edges (who pays whom, in USDC), recurring payments (machine-to-machine subscriptions) and hubs (destinations with many payers, i.e. infrastructure nodes). Use it to see where real agent commerce flows.

Input Schema

NameRequiredDescriptionDefault
limitNo
window_hoursNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint true and destructiveHint false, so the safety profile is fully covered. The description adds domain context (USDC denomination, machine-to-machine subscriptions, hubs as infrastructure nodes), but says nothing about aggregation method, ordering, pagination, or how the time window bounds the data.

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 sentences, no filler, with the data shape front-loaded before the motivating use case. Slightly dense with parenthetical definitions, but every clause carries information.

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?

An output schema exists, so return values need not be explained and the description correctly doesn't attempt it. However, with zero schema coverage on two parameters and no mention of the time window, the definition leaves an agent unable to reason about scope or result size before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions `limit` or `window_hours`. The most consequential gap is `window_hours`, whose unit and default (720) are only visible as a bare integer with no explanation of what the window bounds — an agent gets no semantic anchoring at all.

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?

The description uses a specific framing — 'Agent-to-agent payment graph' — and enumerates exactly what the tool returns (top edges, recurring subscriptions, hubs), so an agent knows what data it yields. It stops short of explicitly naming how it differs from closest siblings like `should_i_pay` or `check_agent_trust`, leaving that differentiation to inference.

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?

'Use it to see where real agent commerce flows' implies a use case but gives no explicit when-to-use/when-not conditions and names no alternative tool. An agent must infer from the sibling list that this is the flow-mapping option versus the per-wallet or per-agent trust checkers.

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