Skip to main content
Glama

Remove items

remove_items
Destructive

Remove items by id.

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": {
      "mapId": "<mapId>",
      "token": "<token>",
      "ids": "<ids>"
    },
    "name": "remove_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
mapIdYesThe map id from create_map.
tokenYesThe editToken from create_map. Required for every change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, which tells the agent this mutates data, but the description adds nothing beyond that: it does not say removals are permanent/irreversible, whether a partial id list causes partial deletion, or how the map's ordering or indices are affected afterward. For a destructive bulk operation the description contributes essentially no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The single short sentence is front-loaded and contains no filler, which is good structurally. But its brevity is under-specification rather than efficiency for a destructive three-parameter tool, so it does not earn a top mark.

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?

With no output schema, a destructive annotation, three required parameters, and one undocumented parameter type, the description should carry more of the load: no return information (count removed? updated map?), no failure behavior, no reversibility statement. It is not adequate for the tool's complexity.

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 coverage is 67% – mapId and token are documented, but the ids array carries no description at all, and the description only echoes "by id" without saying whether ids are item ids, array indices, or whether unknown ids cause an error. It neither compensates for the undocumented parameter nor adds format or batching semantics.

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

Purpose3/5

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

"Remove items by id" gives a specific verb and resource, so the basic operation is identifiable and distinct from siblings like add_items and update_items by name alone. However it never says what an "item" belongs to (a map, inferred only from the mapId parameter) or whether removal is single or bulk, leaving the purpose only minimally pinned down.

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?

There is no guidance on when to call this versus update_items or set_layout, and no stated preconditions in the description itself (the token requirement lives only in the schema). The agent must infer that this is the deletion path and that an existing map with an edit token is a prerequisite.

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