Skip to main content
Glama

Enchant MCP by usefulapi

Get ticket

enchant_get_ticket
Read-only

Get one ticket by id. Embed related data with embed: messages (the conversation: replies and notes), customer, user, inbox, labels. Each embedded type costs 1 extra rate-limit credit. Enchant REST: GET /tickets/{id}.

Input Schema

NameRequiredDescriptionDefault
idYesTicket id (the string id, not the friendly ticket number).
embedNoRelated resources to embed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely new behavioral context by disclosing that each embedded type consumes 1 extra rate-limit credit. It stops short of describing error behavior (e.g., unknown id) or auth requirements.

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?

Three compact sentences: purpose first, then embed semantics and cost, then the underlying REST endpoint. No filler and the most important constraint is front-loaded.

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 two-parameter read tool with no output schema and full schema coverage, the description supplies the embed semantics and rate-limit cost an agent needs. It could be richer on return shape or failure modes, but nothing essential for correct invocation is missing.

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 100%, so baseline is 3, but the description goes beyond the raw enum by explaining what 'messages' contains (replies and notes) and attaching a cost to each embed choice. That is real semantic value not present in the schema.

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 with scope: 'Get one ticket by id', which cleanly separates it from enchant_list_tickets. The embed mention further clarifies it is a single-record retrieval that can expand related data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied (fetch a single ticket when the id is known), and the description usefully explains what each embed value yields, but it never states when to prefer this over enchant_list_tickets or when embeds are worth the extra credit cost.

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.