Skip to main content
Glama
freedom-m2m-mcp-server

freedom-m2m-mcp-server

Official

Universal 0ms Prepaid Multi-Call Session Pass (From 50 Sats / $0.047 USDC)

freedom_prepaid_session_pass

Deposit once via x402 or L402 to create a reusable M2M pass token for multiple Freedom M2M tool calls and worker hires, then check remaining Sats without per-call blockchain latency.

Instructions

Universal M2M Prepaid Multi-Call Session Pass (50 to 500,000 Sats | ~$0.047 to $450 USDC | 0ms Execution Latency). Deposit once via x402 (Base USDC / Solana USDC) or L402 (Bitcoin Lightning) at POST /api/v1/router/topup and receive a reusable token (m2m-pass-) that works across ALL Freedom M2M tools and verified worker hires without per-call blockchain latency.

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": {
      "action": "<action>"
    },
    "name": "freedom_prepaid_session_pass"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesUse "topup" to fund a pass or "check_balance" (free) to check remaining Sats.
xPaymentNoOptional x402 payment proof for topup.
passTokenNoSession pass token (m2m-pass-<hex>) when action="check_balance".
amountSatsNoAmount in Satoshis to deposit (50 to 500,000 Sats) when action="topup".
authHeaderNoOptional L402 payment proof for topup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.6.0

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the two accepted payment rails (Base/Solana USDC via x402, Lightning via L402), the concrete endpoint, and the returned token format (m2m-pass-<hex>) that is reusable across all tools. It omits key behavioral traits for a financial operation: whether deposits are refundable, whether the token expires, and what happens on insufficient funds or failed payment.

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?

The core mechanic is packed into one long sentence, and the leading parenthetical ('50 to 500,000 Sats | ~$0.047 to $450 USDC | 0ms Execution Latency') duplicates the title and the amount range already in the schema. The key action information is not front-loaded; it sits behind promotional framing.

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?

It covers the payment flow and the token's cross-tool reusability, which is the essential mechanic, but for a 5-parameter financial tool with no annotations and no output schema it leaves gaps: response shape beyond 'receive a token', token lifetime, refund/failure behavior, and the relationship between the two payment-proof parameters. Adequate but incomplete for the tool's complexity.

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%, so the schema already documents action, xPayment, passToken, amountSats, and authHeader, including the enum values and the amount range. The description adds little beyond that, restating the 50–500,000 Sats range and the m2m-pass-<hex> format, and does not clarify how xPayment and authHeader map to the two payment rails. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a prepaid multi-call session pass) and describes the funding mechanic: deposit via x402 or L402 at /api/v1/router/topup and receive a reusable m2m-pass token. However, it is written as a marketing pitch rather than stating plainly 'this tool tops up a prepaid balance and checks the balance', so the two actions the tool actually performs are only inferable from the schema. It is distinguishable from the sibling tools (none of which handle payment), but the verb is buried.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is an implicit 'use this to avoid per-call blockchain latency across all Freedom M2M tools', which is useful framing, but no explicit when-to-use/when-not guidance. Nothing tells the agent when to choose topup versus check_balance, when a pass is preferable to paying per call, or what prerequisites (wallet, payment proof) must exist before calling.

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