Skip to main content
Glama

Delete a list item

delete_list_item
Idempotent

Use this when the user wants an item removed from an AiGuild list. Do not use for removing a whole system; use remove_system. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.

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": {
      "guild_id": "<guild_id>",
      "list": "<list>",
      "item": "<item>"
    },
    "name": "delete_list_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYesThe item name.
listYesThe list.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Discloses a non-obvious staging behavior that annotations cannot express: the change is only queued on the server's pending card and nothing happens on Discord until apply_card. This also reconciles the apparent tension between the 'delete' name and destructiveHint=false, since the actual destructive commit happens elsewhere.

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?

Three short sentences, each earning its place: the trigger first, the exclusion second, the side-effect model third. No redundant restatement of the title or name.

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 three-parameter mutation tool with no output schema, the definition covers selection criteria, the alternative, and the deferred-apply side effect. It stops short of saying what is returned or what happens if the named item is absent from the list, a minor gap given the strong behavioral coverage.

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 description coverage is 100% and the list enum is fully specified, so the schema already carries parameter meaning. The description adds no syntax, format, or selection guidance for guild_id, list, or item beyond what is structured, so the baseline 3 applies.

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 ('item removed from an AiGuild list') and explicitly separates itself from remove_system, which deletes an entire system. An agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use trigger ('when the user wants an item removed from an AiGuild list'), an explicit when-not ('Do not use for removing a whole system'), and names the correct alternative (remove_system). Nothing is left to inference.

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