Skip to main content
Glama

Undo what AI applied of a triage suggestion

colliedesk_ai_triage_undo
Idempotent

Take back what AI applied of a triage suggestion by itself: the parts named (tags, priority, assignee), or all of it. A part goes back only while it is still what AI set; a part a person changed since is kept, and the suggestion lists it under kept. Undoing again changes nothing; colliedesk_ai_triage_accept applies it again.

Needs: ai_assist:create.

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": {
      "conversation_id": "<conversation_id>",
      "suggestion_id": "<suggestion_id>"
    },
    "name": "colliedesk_ai_triage_undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNo
suggestion_idYesFrom colliedesk_ai_triage_get or colliedesk_ai_triage_create.
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
suggestionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare non-readonly, non-destructive, idempotent. The description adds real behavioral context beyond them: partial revert semantics, that human-edited parts survive and appear under 'kept' in the suggestion, and an explicit permission requirement (ai_assist:create). The idempotency statement duplicates idempotentHint=true, but the partial-failure behavior and auth disclosure are genuine value.

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-loads the action and scope, then layers the conditional behavior and the alternative in short follow-on sentences. Dense but purposeful; the colon-chained first sentence is slightly heavy but nothing is wasted.

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?

An output schema exists, so return values need not be described, and the definition nonetheless notes that kept parts are surfaced on the suggestion. Behavior, permissions, and idempotency are all covered; only conversation_id's role is left implicit, which is a minor gap for a three-parameter mutation tool.

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?

With schema coverage at 33%, the description compensates well for the undocumented 'parts' parameter by naming its three values and stating that omitting it means all of it — semantics the bare enum does not convey. Only conversation_id remains unexplained in both schema and description, which is a small residual gap.

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 — taking back what AI applied of a triage suggestion — and scopes it precisely to named parts (tags, priority, assignee) or all of it. It explicitly names the sibling colliedesk_ai_triage_accept as the re-apply path, so the agent can separate 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 Guidelines4/5

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

Gives clear conditions: undo works per-part only while the value is still what AI set, human-changed parts are preserved, and repeat calls are no-ops. It also routes to colliedesk_ai_triage_accept for re-application. It does not contrast with colliedesk_ai_triage_dismiss, but that omission is minor given how specific the use conditions are.

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