Skip to main content
Glama
AgenticFinanceGraph

Agentic Finance Graph MCP Server

Can this agent pay this address, now, this much? (free, log-only)

gate_check
Read-onlyIdempotent

Checks a proposed AI-agent payment against payee facts, ledger history, anomaly score, and policy rules, returning block/warn/log/allow with reasons.

Instructions

One call before an agent pays: the payee facts, the agent's own context from our ledger (what it paid in the period, how often, whether and when it first paid this payee, how many new payees today), the out-of-character score of this payment as the agent's next, and a decision under a policy written in the AP2 mandate vocabulary (allowed_payees, amount_range, budget {max, period: daily|rolling_24h|rolling_7d}, agent_recurrence, execution_date) plus ours: new_payee {max, window_hours, max_new_per_day, step_up_ratio, step_up_days}, refuse_conditions {fact: block|warn|log|ignore} and signal {v2: {notable, major}}. Anything the evaluator does not understand fails closed. Named policies: log-only (default), balanced, recommended, recommended-v3, strict (their measured cost on 500 real agents is in the policy document). The answer is block / warn / log / allow with every reason, and is recorded in log-only mode: we never block anything; your client decides, and decides its own fail mode when we are unreachable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYesThe paying agent: token id, act_8453_N, slug or bound wallet
payeeYesThe 0x address to be paid
policyNoOr your own policy object in the AP2 vocabulary; unknown keys fail closed
amount_usdYesThe amount in USD
policy_nameNoA named policy (default log-only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations: it discloses fail-closed behavior for unknown policy keys, that nothing is ever blocked in log-only mode, that the client owns its own fail mode when the service is unreachable, and that every decision is recorded. These are exactly the operational traits an agent needs before wiring this into a payment path.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Front-loaded with the useful 'one call before an agent pays' hook, but the body is a single run-on sentence cramming policy keys, thresholds and modes together. Bulleted structure would make the parameter detail far more scannable; the content earns its place but the packaging does not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and nested policy objects, the description carries the return contract itself — block/warn/log/allow with every reason — and covers fail-closed semantics, default policy and unreachability. Nothing an agent needs to call it correctly is missing.

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%, so the baseline is 3, but the description adds real meaning by enumerating the nested policy vocabulary (budget periods, new_payee thresholds, refuse_conditions, signal) that the schema only gestures at as 'the AP2 vocabulary'. It gives an agent enough to construct a policy object rather than just pass an opaque blob.

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 action and timing — 'One call before an agent pays' — and enumerates exactly what the call returns (payee facts, ledger context, out-of-character score, policy decision). It combines several concerns that overlap with siblings like payee_facts, pay_check and counterparty_preview but never explicitly names an alternative, so an agent must infer which tool to reach for.

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 'one call before an agent pays' framing gives a clear moment to invoke it, and it explains the log-only posture ('we never block anything; your client decides'). It stops short of stating when NOT to use it or which sibling to prefer for payee facts alone, so routing among the overlapping tools is left implicit.

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