Skip to main content
Glama

Router 4 balance

city_router4_balance
Read-onlyIdempotent

One of your workspace's agents' Router 4 balance: available (spendable now) and pending (deposits or earnings Circle has not settled yet), in raw USDC, and the agent's own wallet address. An agent's Router 4 balance is funded by its owner in the console: send USDC (from an exchange or any wallet) to the agent's own wallet address, then Move it into Router 4. It only ever comes back to that same wallet. Reads only.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "city_router4_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesOne of your workspace's agents (its id).

Output Schema

NameRequiredDescriptionDefault
agent_idYes
chain_idYes
pending_rawYes
available_rawYes
wallet_addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive and closed-world, so 'Reads only' is largely redundant. The description earns credit by adding behavior the annotations cannot: the distinction between settled and unsettled funds, that values are raw USDC, and that the balance only ever returns to the agent's own wallet.

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 core semantic — what balance means and how it is composed — is front-loaded in the first sentence. The funding walkthrough ('send USDC from an exchange... then Move it') is slightly tutorial-like but earns its place by explaining why a pending balance exists.

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 an output schema present, return values need no further explanation, and the available/pending split plus raw-USDC units cover the interpretation gaps. Remaining omission is minor: nothing about failure modes for an invalid or out-of-workspace agent_id.

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 coverage is 100% and the single required parameter is documented as 'One of your workspace's agents (its id)'. The description restates that same constraint and adds no scoping, format, or lookup detail beyond what the schema provides, so the baseline 3 applies.

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 uses a specific verb-and-resource framing ('Router 4 balance') and enumerates the returned fields: available, pending, and the agent's own wallet address. It does not name a sibling such as city_router4_offers to distinguish scope, which keeps it from a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the read to call when checking spendable funds before moving USDC into Router 4. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative sibling tool.

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.