Skip to main content
Glama

Liquid Agent

Set your stock allocation

stocks_set_weights
Read-onlyIdempotent

Free. Sets your vault's target allocation across the 4 stocks in basis points (sum 10000), e.g. [4000, 3000, 2000, 1000]. Default is equal weight. Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vaultYesYour vault address.
weightsBpsYes4 weights in basis points summing to 10000, in the basket's constituent order (see stocks_basket).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoContract to call
dataNoCalldata, sign and broadcast as-is
modeNopermit: sign typedData first
nextNoWhat to do next
afterNoWhat to do after it confirms
stepsNoWhen two transactions are needed (approve, then deposit), sign and send them in order
valueNoNative value, always 0
chainIdNoChain id (8453 = Base)
typedDataNoEIP-712 permit to sign off-chain (free, no gas)
attributionNoERC-8021 builder attribution suffix info

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and destructiveHint=false, and the description is consistent, explaining that it returns an UNSIGNED transaction {to,data,value,chainId} on Base and that nothing changes until the caller signs and broadcasts. It also discloses the non-custodial model ('Liquid never holds keys or funds'), which is meaningful context beyond the annotations.

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 key cost note ('Free.') and the core action, then the mechanics. Dense but each clause carries information; the signing/custody sentence is longer than strictly necessary but earns its place for a transaction-producing tool.

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?

An output schema exists, so the description needn't explain return values, yet it still characterizes the unsigned transaction shape. Combined with the chain and custody notes, an agent has enough to call it correctly; only sibling-routing guidance is absent.

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 description coverage is 100%, so both parameters (vault, weightsBps) are already fully documented. The description adds only a concrete example array, which is mildly useful but largely restates the schema's sum-to-10000 and ordering constraints.

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?

States a specific verb and resource ('Sets your vault's target allocation across the 4 stocks in basis points') with the exact unit and expected sum. An agent can distinguish this from stocks_basket, stocks_rebalance, and stocks_buy without opening schemas.

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?

It gives the format and the default (equal weight) and implies when the tool is appropriate (rebalancing a vault's target weights), but it never states when to prefer it over close siblings like stocks_rebalance or stocks_basket. Usage is implied rather than routed.

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.