Skip to main content
Glama

Remove items from folder

remove_items_from_folder
DestructiveIdempotent

Remove listings, shops, or keywords from a favorite folder.

folder_id comes from create_favorite_folder or list_favorite_folders. items are the PUBLIC handles matching the folder's kind (listing_id, shop_name, or keyword text) — same handles used by add_items_to_folder. Removing an item that isn't in the folder is a no-op.

Returns {folder: {...}, removed: [...], not_present: [...], not_found: [...]} echoing the handles back. This only removes items from this folder; it does not delete the folder.

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": {
      "folder_id": "<folder_id>",
      "items": "<items>"
    },
    "name": "remove_items_from_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
folder_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, and the description usefully scopes that destructiveness (only items in this folder, folder itself survives) and explains the no-op case for absent items. It omits permission requirements and what happens if folder_id is invalid, keeping it short of 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.

Conciseness4/5

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

Front-loaded with the action, then parameter guidance, then return and scope caveats — each line is purposeful and the backticked identifiers aid scanning. The return-shape sentence largely restates the existing output schema, which is the one piece of mild redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with an output schema and safety annotations, the definition covers purpose, parameter provenance, no-op semantics, and scope limits. It stops short of stating error behavior for a nonexistent or mismatched folder_id, so it is strong but not exhaustive.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and does so: folder_id's origin tools are named and items is defined as public handles whose type must match the folder kind (listing_id, shop_name, or keyword text). This adds meaning well beyond the bare string/array schema.

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

Purpose5/5

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

States a specific verb and resource ("Remove listings, shops, or keywords from a favorite folder") and enumerates the item kinds, so an agent can distinguish it from add_items_to_folder and from delete_favorite_folder, which the last sentence explicitly rules out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete prerequisites and provenance: folder_id comes from create_favorite_folder or list_favorite_folders, and items must be the same public handles accepted by add_items_to_folder. It does not spell out a when-not-to-use case beyond the folder-deletion caveat, so it is clear context without full exclusion guidance.

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