Skip to main content
Glama

Reply in a ticket

reply_in_ticket
Idempotent

Use this when the user wants AiGuild to post a reply in the channel of an open ticket (list_open_tickets gives the ticket channels). Refused for a channel that is not an open ticket. Ticket staff can use it without other permissions, in ticket channels they can post in. Do not use for other channels; use post_message. 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>",
      "channel": "<channel>",
      "text": "<text>"
    },
    "name": "reply_in_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe full reply, 1900 characters at most.
channelYesThe ticket channel name, as given by list_open_tickets.
guild_idYesDiscord server ID, as returned by list_my_servers.
allow_repeatNoPost it even if the same message was already posted in this channel in the last 30 minutes. Only when the user asked for it twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / allow_repeat
      Added value: +{
      +  "description": "Post it even if the same message was already posted in this channel in the last 30 minutes. Only when the user asked for it twice.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, but the description adds real context beyond them: the refusal condition, the permission model ('ticket staff can use it without other permissions'), and the staged-write behavior ('nothing changes on Discord until apply_card'). The only gap is that the 30-minute dedupe window is disclosed only in the schema's allow_repeat parameter rather than in the description.

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?

Four tight sentences, front-loaded with the trigger condition, then refusal, then permissions, then the staging consequence. No sentence is redundant with the title or with structured fields.

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?

For a mutation tool with no output schema, the description covers everything an agent needs: valid target, refusal case, permission model, alternative tool, and the fact that the effect is deferred until apply_card. Nothing material is left to inference.

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 the baseline is 3, but the description adds provenance for two parameters by tying 'channel' to list_open_tickets and implicitly scoping guild_id to the server context. It doesn't add syntax detail beyond the schema, so it sits just above baseline.

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 ('post a reply in the channel of an open ticket') and immediately bounds the scope to open ticket channels. It explicitly names the sibling it is not for ('Do not use for other channels; use post_message'), so an agent can distinguish it 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 trigger ('when the user wants AiGuild to post a reply'), an explicit exclusion ('Refused for a channel that is not an open ticket'), and a named alternative (post_message). It also points to list_open_tickets as the source of valid channels, closing the discovery loop.

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