Skip to main content
Glama

Link report to ticket

link_ticket_report
Idempotent

Link an existing report event to a ticket in the same project and pin its retention. eventId is the event UUID accepted by get_report. Reports can belong to only one ticket. Reuse requestId only for an identical retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdYes
eventIdYes
projectIdYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=false and idempotentHint=true already declared, the description still adds meaningful behavior: the link pins retention, reports are single-ticket exclusive, and requestId should be reused only for an identical retry (consistent with idempotentHint). It stops short of describing failure modes or what a conflicting re-link does.

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?

The action and its retention side effect are front-loaded, followed by the eventId provenance, the exclusivity rule, and the retry rule. Four tight sentences, no filler, each carrying distinct information.

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 four-required-parameter mutation with no output schema and no schema descriptions, the description covers the key mechanics (source of eventId, single-ticket exclusivity, idempotent retry) and the annotations cover the safety profile. The residual gap is the meaning of cardId/projectId and what the call returns on success.

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 0%, so the description carries the full burden. It explains eventId well and gives requestId idempotency-key semantics, but cardId and projectId are never characterized — notably 'cardId' is the ticket identifier in a tool whose title says 'ticket', which is not derivable from the name alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

It gives a specific verb (link), a specific resource (an existing report event), a target (a ticket) and a scope constraint (same project), plus the side effect of pinning retention. That clearly separates it from siblings like unlink_ticket_report or add_ticket_comment, though it never names the inverse operation explicitly.

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?

It supplies real preconditions: the report must already exist, eventId must be one accepted by get_report, and a report can only belong to one ticket. The requestId retry rule is also stated. What is missing is any explicit when-not or routing to the sibling unlink_ticket_report for the reverse case.

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.