Skip to main content
Glama

FarmDash Agent OS

optimize_portfolio

Read-onlyIdempotent

Find up to ten unranked catalog candidates to research. Requires paid access through Pioneer, Syndicate capacity, or the route x402 terms. Returns WAIT. Before acting, verify exact pools, wallet eligibility, policy, costs, and the stay-put comparison. Campaign status does not establish safety.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currentProtocols": "<currentProtocols>",
      "riskPreference": "<riskPreference>"
    },
    "name": "optimize_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetNoOptional qualitative budget. Defaults to medium and is echoed without restricting candidates or authorizing spend.
chainsNoExact FarmDash catalog chain names to include. The first 50 are considered. Omit or pass [] for all catalog chains.
riskPreferenceYesRequested research risk preference. The result echoes this value without using it to rank candidates.
currentProtocolsYesUp to 50 existing FarmDash protocol IDs to exclude. Use [] for no exclusions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / budget / description
      Added value: +"Optional qualitative budget. Defaults to medium and is echoed without restricting candidates or authorizing spend."
    • addedInput schema / properties / chains / description
      Added value: +"Exact FarmDash catalog chain names to include. The first 50 are considered. Omit or pass [] for all catalog chains."
    • addedInput schema / properties / currentProtocols / description
      Added value: +"Up to 50 existing FarmDash protocol IDs to exclude. Use [] for no exclusions."
    • addedInput schema / properties / riskPreference / description
      Added value: +"Requested research risk preference. The result echoes this value without using it to rank candidates."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior, and the description adds genuinely new context: access gating through three named routes, a hard cap of ten results, and the warning that 'Campaign status does not establish safety.' The unexplained 'Returns WAIT' is the one opaque behavioral claim, but overall it adds real value 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.

Conciseness5/5

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

Five short sentences, each carrying distinct information: the action, the access precondition, the return signal, the verification checklist, and the safety caveat. No filler or restatement of the name.

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?

For a four-parameter read-only discovery tool with no output schema, the description covers access requirements, result limits, and safety caveats. It leaves two meaningful gaps: what 'Returns WAIT' actually means for the caller, and any sense of the result shape (candidate list versus ranked recommendation), which the agent cannot recover elsewhere since no output schema exists.

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 every parameter (budget, chains, riskPreference, currentProtocols) is already documented, including the surprising note that riskPreference is echoed rather than used to rank. The description adds no parameter-level meaning beyond that, which is the expected baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action and output: 'Find up to ten unranked catalog candidates to research,' which makes clear this is a discovery/research step rather than an execution or optimization step despite the name. It doesn't name any sibling tool, so the agent must infer routing from the sibling list rather than from the text.

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?

The description gives preconditions ('Requires paid access through Pioneer, Syndicate capacity, or the route x402 terms') and post-call guidance ('Before acting, verify exact pools, wallet eligibility, policy, costs, and the stay-put comparison'). It never says when to prefer this over siblings such as get_portfolio_summary or find_capital_route, so usage is implied rather than stated.

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