Skip to main content
Glama

barker_execution_quote

EXECUTION QUOTE (non-custodial): buy an unsigned, ready-to-sign transaction that deposits into or redeems from a stablecoin vault. Returns transaction_request {chainId,from,to,data,value} + route + risk summary + approval info. Barker NEVER broadcasts and never holds funds — return the transaction to YOUR user's wallet to sign; vault shares always go to signer_address (receiver is not a parameter). Same-chain only (self/portals adapters). pool_uid takes EITHER a Barker pool_uid OR the vault contract address — if you already know the vault address, quote directly, no discovery call needed. Flow: barker_yield_advisor → barker_executable_pools → this tool → your user signs. Asset identity is resolved by the selected pool; symbols and underlying-asset token addresses are never accepted as identity (pass the VAULT contract, not the asset contract). If a pool has multiple possible underlying assets, the backend rejects ambiguity instead of guessing. Use for 'deposit 1000 USDC into this vault', '帮我把 USDC 存进这个池子(自己签名)'. (paid: $0.05 per call via x402)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoDefault deposit
amountNoSame amount in human units ("1000" = 1000 USDC), converted server-side using the pool's own asset decimals. Use this if you don't want to compute base units yourself. Alternative to amount_base_units.
chain_idNoOptional, only useful when pool_uid is a contract address that is deployed at the same address on several chains (e.g. Aave aTokens). EVM chain id, e.g. 8453 for Base.
pool_uidYesEither the exact pool_uid from barker_executable_pools (copy verbatim), OR the vault contract address (0x + 40 hex) if that is what you already have — no discovery call needed. Both are matched exactly; partial names and keywords are rejected (POOL_NOT_FOUND), because this is a money path and Barker never guesses the pool. If one contract hosts several products (e.g. Pendle PT vs LP), you get 409 POOL_AMBIGUOUS with the exact candidates to choose from.
slippageNoOptional slippage tolerance, e.g. 0.005
signer_addressYesEVM address that will sign AND receive vault shares / redeemed assets. Mandatory — it is the tx sender and the share recipient, so Barker can never infer or default it.
amount_base_unitsYesInteger amount in token base units (1 USDC = 1000000). For redeem: underlying assets to withdraw. Send either this OR `amount` — not both (they are cross-checked and a mismatch is rejected).

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and delivers extensively. It discloses the non-custodial security posture ('Barker NEVER broadcasts and never holds funds'), the exact return structure (transaction_request with chainId, from, to, data, value + route + risk summary + approval info), failure modes (POOL_NOT_FOUND, 409 POOL_AMBIGUOUS with candidates), the 'rejects ambiguity instead of guessing' policy, the paid $0.05/call cost, and the 'backend rejects a mismatch' cross-check behavior. Nothing is left to inference.

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 description is long but every sentence earns its place given the high-stakes money path — security posture, flow, identity rules, error behavior, and concrete examples are all load-bearing. It is front-loaded with the core action and prioritized with critical constraints near the top. Likely slightly overstuffed exactly where safety justifies it, so not a 5 but well above adequate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 7-parameter financial tool with no output schema and no annotations, the description is remarkably complete. It covers the return payload structure (compensating for the missing output schema), error semantics, dimensionality/decimals handling, cross-chain edge cases, and the full flow with sibling tools. An agent has everything needed to call it correctly.

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 coverage is 100%, so the baseline is 3, and the description clearly adds value on top. It explains the amount vs amount_base_units mutual-exclusion and server-side conversion using the pool's own decimals, explains why signer_address is mandatory (it is the tx sender and share recipient — 'Barker can never infer or default it'), and clarifies when chain_id matters (same address on several chains). This goes beyond the raw property descriptions.

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 specific verb and resource ('buy an unsigned, ready-to-sign transaction that deposits into or redeems from a stablecoin vault') and clearly distinguishes this from siblings by placing it in an explicit flow (barker_yield_advisor → barker_executable_pools → this tool → user signs). It also clarifies what it is NOT (non-custodial, never broadcasts). An agent can immediately tell this apart from discovery/pricing tools like barker_executable_pools or barker_yield_advisor.

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

Usage Guidelines5/5

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

Extremely explicit when-to-use guidance: names the flow context, states to use it when 'you already know the vault address' (no discovery call needed), gives concrete example prompts in both English and Chinese, and spells out constraints like 'vault shares always go to signer_address' and 'Same-chain only'. It also tells the agent what to NOT do (never accept symbols or asset-token addresses as identity) and states exclusions for alternatives.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: yield recommendation, pool listing, execution discovery, quoting, detail/history, market data, cross-chain routes, and position monitoring. No two tools overlap in functionality.

Naming Consistency5/5

All tools follow the consistent pattern 'barker_<domain>_<action>' using snake_case. The naming is descriptive and predictable, making it easy for an agent to understand the purpose of each tool.

Tool Count5/5

With 11 tools, the server covers the entire stablecoin yield workflow without being bloated. Each tool contributes to discovery, execution, monitoring, or market analysis, and none feel superfluous.

Completeness5/5

The tool set provides end-to-end coverage for stablecoin yield management: from discovery and analysis to execution and position monitoring. Missing features like batch position queries are outside the server's stated scope.