Skip to main content
Glama

kusd_spend_status

What your kUSD wallet's OPERATOR allows pay_kusd to spend, and what is left: frozen (kill switch), lifetime total, this window's cents / calls / PSM top-ups / unserved payments, the remaining amount on each bounded axis, and the policy itself. Read-only and free; the policy can only be changed by the operator (k402-spend CLI, KUSD_SPEND_POLICY). Local (stdio) k402-mcp only.

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": "kusd_spend_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it declares read-only, free, operator-only mutation, and a 'Local (stdio) k402-mcp only' availability constraint that an agent could otherwise trip over. It also enumerates returned fields, which substitutes partly for the missing output schema. Gaps remain around pagination/format and what 'frozen' or 'unserved payments' concretely mean in a response.

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?

Front-loaded with the core answer ('what the operator allows pay_kusd to spend, and what is left'), followed by the field enumeration, then the two constraints. Dense but every clause carries information. Slight deduction for the telegraphic, jargon-heavy middle run-on that takes a second read to parse.

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?

No output schema exists, so the description must convey return content — and it does, listing the axes and the policy object. It also flags the local-stdio-only deployment constraint, which is material to whether the call succeeds. Only minor omissions (units/format, behavior when the kill switch is frozen) keep it from a 5.

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?

The tool takes zero parameters, so there is no schema semantics to add and the baseline of 4 applies. Nothing in the description misdescribes an input.

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 names the specific resource and its scope: it reports what the wallet's operator allows pay_kusd to spend and what remains, then enumerates the exact breakdown (frozen state, lifetime total, per-window cents/calls/PSM top-ups/unserved payments, remaining on each bounded axis). That is far more than a restatement of the name. It falls short of a 5 only because it never explicitly positions itself against near neighbors like kusd_balance or payment_options.

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 clear context for use: read-only and free, so it can be called liberally to check headroom before pay_kusd. It also draws the mutation boundary explicitly — the policy can only be changed by the operator via the k402-spend CLI / KUSD_SPEND_POLICY — which tells the agent this tool is never the fix for a blocked payment. No explicit when-not or named alternative tool, so not a 5.

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