Skip to main content
Glama

Add a list item

add_list_item
Idempotent

Use this when the user wants a new item in an AiGuild list (ticket type, saved reply, ticket AI note, custom command…); fields from get_system_settings. Do not use for changing an item; use update_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>",
      "values": "<values>"
    },
    "name": "add_list_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
listYesThe list.
valuesYes{ field: value }, the name field included.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds behavior the annotations cannot express: the write is staged into a pending card for this server and 'nothing changes on Discord until apply_card.' This deferred-effect model is the single most important thing an agent must know before calling, and it is stated plainly.

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 sentences, front-loaded with the use case, then exclusion, then the staging caveat — no filler. The semicolon-chained clauses and trailing ellipsis make it slightly denser to parse than necessary, but every sentence carries distinct information.

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

Completeness5/5

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

There is no output schema, so the description compensates by explaining that the call only queues a pending card and returns nothing to Discord until apply_card. Combined with the field-source pointer to get_system_settings, an agent has everything needed to invoke this correctly against a nested-object, enum-constrained mutation.

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

Parameters4/5

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

Schema coverage is 100%, so list/guild_id/values are already documented; the description's added value is telling the agent where the field names for `values` come from (get_system_settings). It does not explain the shape of the nested values object beyond the schema's '{ field: value }, the name field included', so it stops just short of full compensation for the nested-object complexity.

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 gives a specific verb plus resource ('a new item in an AiGuild list') and enumerates concrete list kinds (ticket type, saved reply, ticket AI note, custom command) that map to the schema enum. It explicitly contrasts with update_list_item, so the agent can distinguish it from the nearest sibling 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 states the triggering user intent ('when the user wants a new item'), an explicit exclusion ('Do not use for changing an item'), and names the correct alternative (update_list_item). It also routes the agent to get_system_settings for the valid field set and to apply_card for committing the change, which is complete when/when-not 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