Skip to main content
Glama

prepare_longbow_withdraw

Build ONE unsigned withdrawal of your lent USDG back to your own wallet from Longbow's Core USDG vault: usd, or all: true (token from wallet_login). Always open. Refused only when the vault cannot pay it out right now.

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

Input Schema

NameRequiredDescriptionDefault
allNo
usdNo
tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 a solid job: it discloses that the result is an unsigned transaction (not an executed transfer), that no special gating applies ('Always open'), and the single failure condition. It stops short of covering economics such as interest/fees, what happens to the remaining lent balance, or that the tx must be signed and submitted afterward.

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

Conciseness5/5

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

The core action and scope are front-loaded in the first clause, followed by the parameter shorthand and then the two short behavioral facts. There is no filler and every fragment carries distinct information.

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?

For a three-optional-parameter preparation tool with no annotations and no output schema, the description covers purpose, parameter intent, availability, and failure mode. The remaining gap is that it doesn't characterize the returned unsigned transaction object or the post-build signing step, which matters for an agent chaining calls.

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?

Schema description coverage is 0%, so the description must explain all three parameters, and it largely does: usd is the amount, all: true means the entire position, and token originates from wallet_login. It does not state whether usd and all are mutually exclusive or required, leaving one real ambiguity for a zero-required-parameter schema.

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?

The description states a concrete verb and resource: build one unsigned withdrawal of lent USDG from Longbow's Core USDG vault back to the caller's own wallet. It cleanly distinguishes itself from the deposit sibling by naming the direction of funds and the vault, and explicitly notes the output is unsigned, which is exactly what an agent needs to pick this over a signed-transfer tool.

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 tells the agent how to invoke: supply usd, or all: true, with the token coming from wallet_login, so the prerequisite step is clear. It also states the availability condition ('Always open') and the only refusal case ('Refused only when the vault cannot pay it out right now'). What it does not do is name an alternative tool or state when-not to use this one, so it falls short of 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