Skip to main content
Glama

Fund a Diamond budget (pay once)

diamond_budget
Read-onlyIdempotent

Free. Opens a prepaid budget so this agent can call Diamond's paid tools without paying per call. Returns a budget token (pass) and the exact payment: USDC, EURC, DAI, cbBTC, WETH or VIRTUAL on Base (a plain transfer any agent wallet can make), or a Lightning invoice. If the agent has no wallet, show pay_url to the user. Then call any paid tool with pass = the token; each call deducts its own price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "diamond_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
passNoOptional. An existing budget token to top up.
budgetNob089 = US$0.89 (US$1.00 of calls, default), b499 = US$4.99 (US$5.50), b999 = US$9.99 (US$11.50)
pay_withNoHow the budget will be paid (default usdc). Volatile tokens are quoted at the live price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, it discloses the return payload (budget token plus exact payment), the accepted assets and network, the no-wallet fallback (pay_url), and the per-call deduction model. There is mild tension with readOnlyHint=true given the verb "opens a prepaid budget," plus no mention of budget expiry or whether topping up with pass creates a new budget — but nothing clearly asserts a state change that the annotations deny.

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?

The free/no-per-call benefit is front-loaded, followed by return value, payment options, fallback, and next step in a logical order. It is dense but nearly every clause carries operational information; a slightly long parenthetical asset list is the only padding.

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?

With no output schema, the description carries the burden of explaining returns and does so well: token plus exact payment, accepted assets, or a Lightning invoice, plus the pay_url handoff. Remaining gaps — budget expiry, what happens when a budget runs out, and how top-up via pass behaves — are modest for a zero-required-parameter funding tool.

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 enum meanings for budget tiers and pay_with are already fully documented in the schema. The description adds only the downstream meaning of pass (use it as the token on subsequent paid calls); the other two parameters gain nothing beyond structured data, so the baseline holds.

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?

"Opens a prepaid budget so this agent can call Diamond's paid tools without paying per call" is a specific verb plus resource, and it clearly separates this funding/onboarding step from the paid analysis siblings. The downstream relationship (returns a pass, then call paid tools with it) makes the tool's role unmistakable.

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?

It gives a concrete usage sequence: call this first, then call any paid tool with pass = the token, and if there is no wallet, surface pay_url to the user. It lacks an explicit when-not or a named alternative (e.g., pointing at diamond_catalog for browsing without payment), so it falls just short of full routing guidance.

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