Skip to main content
Glama

Decide ticket estimates

decide_ticket_estimates

Approve or reject one or many SENT estimates in one step (sent → approved | rejected). Records who, when and the comment, and posts it to the ticket timeline. Allowed for the customer of the ticket, or an admin/team lead recording the customer's decision on their behalf (comment required, e.g. 'approved by mail on 07.10.'). Rejecting always needs a comment. All-or-nothing.

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": {
      "decision": "<decision>"
    },
    "name": "decide_ticket_estimates"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoDecision comment (required for rejected and for on-behalf decisions)
decisionYes
ticket_idsNoTicket UUIDs (their active sent estimate)
estimate_idsNoEstimate UUIDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the mutation and non-idempotency profile is covered structurally. The description does add real value beyond that: it records actor/timestamp/comment, writes to the ticket timeline, imposes authorization roles, and specifies all-or-nothing atomicity. However it never says whether the decision is reversible or what happens to already-decided estimates, so it is good rather than complete.

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-loaded with the action and state transition, then permissions, then comment rules, then atomicity. Every clause carries information; the paragraph is dense but not padded, though it would scan faster as short bullets.

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 batch mutation with no output schema, the description covers actor, side effects (timeline post), authorization, comment requirements and failure semantics (all-or-nothing). The remaining gap is the selection semantics between ticket_ids and estimate_ids, which an agent must guess before calling.

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 75%, so the schema defines each field; the description still adds semantics by tying comment to the rejected case and to on-behalf decisions, and by clarifying that ticket_ids resolve to their active sent estimate. It does not explain the relationship between ticket_ids and estimate_ids (whether they are alternatives or combinable), which is the key ambiguity for a batch selector.

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 pair (approve/reject), a specific resource (SENT estimates), batch scope (one or many in one step), and the resulting state transition (sent → approved | rejected). This distinguishes it clearly from sibling operations such as send_ticket_estimates and preview_ticket_estimates without needing to name them.

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 concrete conditions: only SENT estimates are eligible, the actor must be the ticket's customer or an admin/team lead acting on their behalf, and a comment is mandatory for rejection and for on-behalf decisions. No explicit exclusion or named alternative (e.g. use preview first) is stated, so it falls short of a 5.

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