Skip to main content
Glama

Set a sector target

set_sector_target
Destructive

Set one existing sector 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_sector_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

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description earns credit by specifying exactly what is destroyed (zeroing a target) and what is preserved (other targets remain unchanged), i.e. a scoped partial mutation. It does not disclose the approval/dashboard-control gate or optimistic-concurrency behavior implied by the expectedRevision and idempotencyKey parameters, so it is not fully transparent.

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 short sentences, front-loaded with the core action and immediately followed by the two behavioral facts that matter most (zero-deletes and partial-update scope). No filler or restatement of the title.

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 destructive five-parameter mutation with no output schema, the definition covers value semantics but omits the dashboard-control/approval workflow and the purpose of expectedRevision and idempotencyKey. An agent could call it with name and pct but would be guessing about concurrency and control requirements.

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 coverage is only 20%, so the description must compensate. It does clarify pct semantics (zero means removal, otherwise a percentage) and ties name to an existing sector, but idempotencyKey and expectedRevision get no explanation anywhere in the description, and the dashboardId control gate is left entirely to the schema field text.

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?

The description names a specific verb and resource ("Set one existing sector allocation target percentage"), and the word "sector" separates it from the sibling set_asset_target. The "one existing" qualifier also scopes the operation to a single already-present target. It stops short of explicitly naming the sibling it is not, which keeps it from a 5.

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?

"One existing sector" implies a prerequisite (the sector must already exist) and "zero removes the target" signals a delete path, but there is no explicit when-to-use versus alternatives such as set_asset_target or set_category. Nothing says when this tool should be chosen over the broader allocation tool, or what approval/dashboard-control state is required.

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.