Skip to main content
Glama

rebalancer

rebalance_plan

Read-only

Portfolio rebalance, priced against the pools that would execute it, the paid half (0.10 USD1, or half that in $BOBAI): The swaps that move a BSC portfolio to target weights, each one costed against its own pool: swap fee, price impact at the actual size, and the transfer tax measured from executed trades. Returns the cost as a share of the money moved, and names the holding the bill is concentrated in. It does not claim to know what a correction is worth — that is a judgement about risk, not a quantity in a pool. Calling this tool returns the terms; the answer is sold over x402 at https://agent.brainonbnb.com/answer?service=rebalance_plan (or hired through the ERC-8183 escrow for 0.10 $U).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoWhat you want, with the address in it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations mark this readOnlyHint=true and openWorldHint=true, and the description adds real context beyond them: it discloses that the call returns pricing terms and that the actual answer is sold via x402/escrow. However, phrasing like 'the swaps that move a BSC portfolio' and 'transfer tax measured from executed trades' creates ambiguity about whether it executes swaps at all, which is left unresolved.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a long, run-on passage that is not front-loaded and forces the reader to reconstruct the purpose from scattered clauses. Several sentences are tangled and hard to parse, so the volume does not earn its place.

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?

There is no output schema, so the description carries the burden of describing returns; it partially does this ('cost as a share of the money moved,' 'names the holding the bill is concentrated in'). It is still vague about the actual return shape and the resolution flow, leaving gaps for a tool whose sole input is an open-ended task string.

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?

With 100% schema description coverage on the single parameter, the schema already documents it ('What you want, with the address in it'). The description only echoes the address requirement and adds no syntax or format detail beyond the schema, so the baseline of 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 gestures at a specific action (planning a portfolio rebalance) priced against pools, but the intent is buried under jargon like 'the paid half (0.10 USD1, or half that in $BOBAI)' and never resolves cleanly into a verb+resource statement. It never distinguishes itself from the sibling pancakeswap_best_route, so an agent cannot tell the two apart without deeper inference.

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 no explicit when-to-use or when-not-to-use guidance relative to pancakeswap_best_route. The text discusses payment mechanics (x402, ERC-8183 escrow) rather than the conditions under which this tool is the right choice.

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