Skip to main content
Glama

Update a list item

update_list_item
Idempotent

Use this when the user wants to change an item of an AiGuild list. Do not use for adding one; use add_list_item. 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>",
      "values": "<values>"
    },
    "name": "update_list_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYesThe item name.
listYesThe list.
valuesYes{ field: new value }.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, but the description adds genuinely non-obvious behavior: the change is queued on a pending card and nothing hits Discord until apply_card. It does not state whether fields omitted from 'values' are cleared or preserved, which matters for a partial-update mutation.

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, no filler, with the use condition stated first and the deferred-write constraint immediately after. Every sentence carries information the agent needs.

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 4-parameter mutation with a nested object and no output schema, the description covers the key workflow (stage then apply_card) that the schema cannot express. It falls slightly short on merge semantics for 'values' and on what to expect if the pending card is discarded.

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%, so item, list, values and guild_id are all documented in the schema (including the enum of list names). The description adds no syntax or format detail about the {field: new value} object beyond what the schema already states, 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?

The description names a specific verb ('change') and resource ('an item of an AiGuild list'), and explicitly contrasts it with add_list_item. An agent can distinguish this from the sibling add operation 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?

It gives both the positive condition ('when the user wants to change an item') and the exclusion ('Do not use for adding one; use add_list_item'), naming the alternative tool outright. This is exactly the routing guidance an agent needs.

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