Skip to main content
Glama

Suggest recurring error

suggest_recurring_error

Draft a recurring-error pattern from a (usually just-resolved) ticket — turn a solved ticket into reusable knowledge. Returns a pre-filled skeleton (name from the subject, markers guessed from the subject, empty check_steps/causes to fill, status 'vermutet') plus the ticket's text and recent messages. Review and complete it — especially markers (the customer's own phrasing that should auto-match future reports), causes with proof dates, ordered check steps, and what does NOT help — then save it with create_ai_memory_item(category='recurring_error', project_id, metadata=…) after a human confirms. This tool writes nothing itself.

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": {
      "ticket_id": "<ticket_id>"
    },
    "name": "suggest_recurring_error"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idYesUUID of the ticket to draft a recurring-error pattern from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by describing the exact return shape: a skeleton with name derived from the subject, guessed markers, empty check_steps/causes, status 'vermutet', plus ticket text and recent messages. It also names the human-in-the-loop gate before any save. Minor tension: 'This tool writes nothing itself' sits oddly against readOnlyHint=false, though the description is more specific than the annotation and the friction is worth flagging rather than disqualifying.

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: purpose first, then return shape, then what to review, then the persistence route. The middle instruction sentence is dense and long, but every clause (markers, causes with proof dates, ordered check steps, what does NOT help) maps to a real completion requirement, so little is wasted.

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?

With no output schema, the description takes on the return-value burden and does so precisely, enumerating the skeleton fields and accompanying data. It also closes the loop on what the agent must do next and who must approve, so nothing critical is missing for correct invocation.

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?

The single parameter is fully documented in the schema (UUID of the ticket), so the schema carries the syntax burden. The description adds selection guidance the schema lacks — that the ticket is 'usually just-resolved' — helping the agent pick the right ticket_id.

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 — 'Draft a recurring-error pattern from a ticket' — and immediately clarifies the underlying intent ('turn a solved ticket into reusable knowledge'). It is clearly distinguished from the sibling create_ai_memory_item, which is explicitly named as the step that persists the result.

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 use condition ('usually just-resolved ticket') and an explicit workflow boundary: this tool only drafts, and the save happens via create_ai_memory_item(category='recurring_error', …) after a human confirms. When-not-to-use is implied by 'This tool writes nothing itself,' which removes any ambiguity about persistence.

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