Skip to main content
Glama

solknife_portfolio_compose_plan

Plan a USD-valued portfolio rebalance from target mint percentages. targets[].bps must total 10000.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesA Solana address in base58, 32-44 chars.
targetsYesThe desired portfolio: each mint and its share in basis points, summing to 10000.
slippageBpsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations provided. Description only mentions the bps sum constraint, but does not disclose side effects, auth needs, or what the plan output contains. Minimal behavioral disclosure.

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?

Extremely concise: one sentence plus a critical constraint. No wasted words.

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

Completeness2/5

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

No output schema provided. Description does not mention return format or what the plan contains. For a planning tool, expected output is significant missing context.

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 covers 2 of 3 parameters (owner, targets) with descriptions. Description adds the bps total constraint, which is already in schema but reinforces. SlippageBps parameter lacks schema description and no additional explanation provided.

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?

Clearly states verb and resource: 'Plan a USD-valued portfolio rebalance'. Distinguishes from siblings like 'solknife_portfolio_compose_build' and 'solknife_portfolio_compose_execute' by being the planning step.

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?

No explicit guidance on when to use this over siblings or alternatives. Implicitly it's for planning, but lacks when-not-to-use or prerequisites.

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