Skip to main content
Glama

Set an asset target

set_asset_target
Destructive

Set one asset allocation target percentage. Zero removes the target; other targets remain unchanged.

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": {
      "name": "<name>",
      "pct": "<pct>"
    },
    "name": "set_asset_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
pctYes
nameYes
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The destructiveHint=true annotation is already supplied, but the description adds real value by narrowing the blast radius: zero removes the target and 'other targets remain unchanged.' That tells the agent this is a scoped single-target mutation, not a bulk reset. It still omits the approval flow and concurrency behavior around expectedRevision, keeping it below a 5.

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?

Two terse sentences, front-loaded with the action and followed by the special-case semantics. Nothing is wasted and no sentence is redundant with the title.

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?

This is a destructive write tool with five parameters, no output schema, and 20% schema coverage. The description does not cover the dashboard targeting prerequisite, revision conflict handling, idempotency, or what success/failure look like, leaving too much for the agent to infer before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% — dashboardId is the sole documented parameter. The description partially compensates by explaining that pct=0 deletes the target, but name, idempotencyKey, and expectedRevision get no explanation in the schema or the description. For a concurrency-controlled mutation, expectedRevision in particular needs meaning attached.

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 verb and resource: 'Set one asset allocation target percentage.' The word 'one' plus the sibling set_sector_target implicitly distinguishes per-asset from per-sector targeting. Not fully explicit about the sibling, but the resource is unambiguous.

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?

Usage is implied by the name and description but never spelled out: no statement of when to use this versus set_sector_target, add_manual_asset, or edit_asset, and no mention of preconditions such as acquiring dashboard control or supplying expectedRevision.

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.