Skip to main content
Glama

Agent Spend Guard — owner-set purchasing guardrails

Server Details

Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a distinct lifecycle stage: pre-purchase checking, post-purchase recording, reporting, and rule configuration. The check and record tools are clearly separated by before/after semantics and linked via check_id/tx_ref, leaving no realistic confusion.

Naming Consistency4/5

All tools share the spend_guard_ prefix and mostly follow a verb_noun snake_case pattern: check_purchase, record_purchase, set_rules. The single exception is spend_guard_report, which drops an explicit object, creating a minor but noticeable inconsistency.

Tool Count5/5

Four tools cleanly cover the guardrail workflow: configure rules, check purchases, record purchases, and report on spend. Each tool has a clear purpose and none are redundant, making the count well-scoped for the server's purpose.

Completeness5/5

The tool surface covers the full expected lifecycle of purchasing guardrails: rule management, pre-purchase evaluation, post-purchase recording with idempotency, and monthly reporting. The set_rules full-declaration approach handles clearing rules, and report includes current rules, so there are no obvious dead ends or critical missing operations.

Available Tools

4 tools
spend_guard_check_purchaseAInspect

Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call BEFORE checkout. Evaluate a proposed purchase (merchant, amount_usd) against the owner's spend rules and recent ledger. Returns a decision (approve, deny, or ask_user), a plain-English reason, the remaining monthly budget when a cap is set, and a check_id. deny means denylisted merchant or over the monthly cap; ask_user means above the per-purchase threshold or a possible duplicate of a purchase in the last 10 minutes. Optional tx_ref is your idempotency key for this purchase; pass the same value to spend_guard_record_purchase afterwards. Appends a check event; checks never consume budget. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/check.

Inputs: merchant (required), amount_usd (required), tx_ref, category, +2 more.

spend_guard_record_purchaseA
Idempotent
Inspect

Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call AFTER checkout. Record a completed purchase in the owner's spend ledger. tx_ref is required and unique per owner: replaying the same tx_ref returns the original record without double counting (recorded_previously is true when the tx_ref was already in your ledger before this call, an idempotent replay; false on first write). Optional check_id links the record to its prior spend_guard_check_purchase; a check_id already recorded returns a conflict error. Returns the recorded event and the month-to-date total. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/record.

Inputs: tx_ref (required), merchant (required), amount_usd (required), category, +3 more.

spend_guard_reportA
Read-onlyIdempotent
Inspect

Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Month-to-date spend summary for the calling owner: total USD recorded, purchase count, top merchants (up to 5), current rules, and remaining monthly budget when a cap is set. Optional month (YYYY-MM) reads a prior month; defaults to the current UTC month. Not guest-callable. REST: GET /api/v1/spend-guard/report.

Inputs: month.

spend_guard_set_rulesA
Idempotent
Inspect

Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Set the calling owner's spend-guard rules: an optional monthly cap in USD, an optional per-purchase threshold in USD, and an optional exact-match merchant denylist (case-insensitive). Full declaration: omit or null a field to clear that rule. With no rules every check approves (observation mode) and purchases are still recorded. Returns the effective rules. Not guest-callable. REST: PUT /api/v1/spend-guard/rules.

Inputs: monthly_cap_usd, merchant_denylist, per_purchase_threshold_usd.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Governance layer for AI agent spending: enforces budgets, per-merchant limits and human approval before issuing single-use virtual cards (Lithic, PayPal), with a tamper-evident audit log.
      5
      495 npm
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables human-in-the-loop authorization for AI agent transactions, allowing real-time approval or denial of purchases based on configurable spending limits, vendor blocklists, daily caps, and category restrictions.
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Governs AI agents' spending by enforcing budgets, approvals, and kill switches before any payment, providing an MCP interface for tool calls with policy checks.
      377 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A wallet and guardrail for AI agents, enabling spending limits, payment approvals, and real-time ledger tracking via memory or Stripe backends.
      30 PyPI
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources