Skip to main content
Glama

raise-complaint

File a complaint for a customer who is unhappy with something Printing Labs did — a late or wrong delivery, a quality problem, a billing error, a request nobody answered. Creates a real ticket: the customer is acknowledged by email (and WhatsApp when possible) with a reference, the team that can actually fix it is alerted, and a task with a deadline lands on their board. Use it the moment somebody complains; do NOT use it for a question, a quote chase or a price negotiation.

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": {
      "what": "<what>"
    },
    "name": "raise-complaint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWho is complaining
whatYesWhat went wrong, in the customer's own words. Do not soften it.
emailNoTheir email address — needed to send the acknowledgement
phoneNoTheir number with country code
callIdNoOnly for a voice agent filing this during a live call: the id of that call, so the team can open the recording beside the ticket. Leave it out entirely if you do not have one — NEVER guess or invent it, because a wrong call id sends the handler to the wrong recording.
companyNoTheir company
orderRefNoOrder or invoice number if they quote one
severityNoOnly if they make it explicit — 'low', 'medium' or 'high'. Otherwise leave it out and it is judged from what they said.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / properties / callId
      Added value: +{
      +  "description": "Only for a voice agent filing this during a live call: the id of that call, so the team can open the recording beside the ticket. Leave it out entirely if you do not have one — NEVER guess or invent it, because a wrong call id sends the handler to the wrong recording.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discharges most of it: it discloses that a real ticket is created, that the customer is acknowledged by email and sometimes WhatsApp with a reference, that a fix-capable team is alerted, and that a deadline task is created. It does not address whether duplicate calls create duplicate tickets or what permission/identity is required to file on a customer's behalf, which are the remaining meaningful gaps for a mutation tool.

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?

Two sentences, front-loaded with the core action and its examples, then the side effects, then the exclusion. The parenthetical about WhatsApp is the only softener and it conveys real behavioral variance, so 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?

For an 8-parameter, unannotated mutation tool with no output schema, the description covers purpose, side effects, and routing well. It leaves the agent unsure what the call returns (ticket id or reference to relay) and whether re-filing is safe, which matters for a tool that emails customers.

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 the baseline is 3 and the schema already explains every parameter, including the careful callId warning and the severity fallback. The description adds only the illustrative failure types that help fill "what"; it says nothing extra about name, email, orderRef, or the callId hazard beyond what the schema states.

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 opens with a specific verb and resource ("File a complaint") and immediately bounds the resource with concrete examples — late/wrong delivery, quality problem, billing error, unanswered request. An agent can distinguish this from siblings like request-quote or track-order without opening any 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 an explicit trigger ("Use it the moment somebody complains") and explicit exclusions ("do NOT use it for a question, a quote chase or a price negotiation"), which map onto adjacent siblings such as request-quote and get-product-details. Both the when and the when-not are stated outright.

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