Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Remove plan item

remove_plan_item
DestructiveIdempotent

Marks one plan item as removed. The target is required and must be {type:"id", itemId} or {type:"position", position}. Users cannot manually edit plan items; redirect changes through chat.

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": {
      "target": "<target>"
    },
    "name": "remove_plan_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
planIdNoOptional plan UUID. In the current conversation, omit planId unless you already have the actual plan id from get_active_plan or a wake message. Never pass a plan item id here; target plan items through target.itemId or target.position.
reasonNo
targetYes
conversationIdNoOptional conversation UUID. Omit this field to use the current MCP conversation context; never pass placeholders such as `current`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / conversationId / anyOf
      Added value: +[
      +  {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / conversationId / format
      Removed value: -"uuid"
    • removedInput schema / properties / conversationId / type
      Removed value: -"string"
    • changedInput schema / properties / planId / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/properties/conversationId"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/properties/conversationId/anyOf/0"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / target / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "itemId": {
      -        "$ref": "#/properties/conversationId"
      -      },
      -      "type": {
      -        "const": "id",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "itemId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "position": {
      -        "maximum": 100,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "type": {
      -        "const": "position",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "position"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "itemId": {
      +        "$ref": "#/properties/conversationId/anyOf/0"
      +      },
      +      "type": {
      +        "const": "id",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "itemId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "position": {
      +        "maximum": 100,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "const": "position",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "position"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds a meaningful nuance beyond them: this is a soft removal ("Marks ... as removed") rather than an erasure, plus the constraint that plan items are not user-editable and changes must go through chat. It does not address failure behavior for an invalid target, which keeps it below 5.

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?

Three short sentences, front-loaded with the action and the required target before the caveat about manual edits. Every sentence carries information, though the chat-redirect note is only loosely tied to invoking this specific tool.

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, idempotent mutation with no output schema, the definition covers what it does and the target shape but leaves the reason parameter unexplained and says nothing about what the caller gets back or what a missing/already-removed item produces. Adequate, but with visible gaps for a mutating tool.

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 50%: planId and conversationId carry their own inline descriptions (including the warning not to pass an item id as planId). The description restates the required target union as {type:"id", itemId} or {type:"position", position}, which largely mirrors the anyOf in the schema, and the reason parameter is never explained in either place. With the schema doing most of the work, a 3 is appropriate.

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 opens with a specific verb and resource: "Marks one plan item as removed." That is unambiguous and, together with the title, separates it from add_plan_item and update_plan_item. It stops short of distinguishing removal-by-marking from any bulk replace behavior, so it lands at 4 rather than 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?

It supplies a real precondition ("The target is required") and an audience constraint ("Users cannot manually edit plan items; redirect changes through chat"). However, it never states when to choose this over sibling operations like update_plan_item or replace_plan_items, nor what to do if the target no longer exists. 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.