Skip to main content
Glama
Support CRM MCP

Support CRM MCP

search_tickets

Search support tickets by keyword, status, or priority to find conversations about a topic or from a customer, returning recent matches with excerpts.

Instructions

Search support tickets by keyword. Use this to find tickets about a topic or from a customer.

query: words that must appear in the subject, description or requester email. Empty matches all. status: one of new, open, pending, solved. priority: one of low, normal, high, urgent. Returns newest first, at most 20, each with a short excerpt. Call get_ticket for the full text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
statusNo
priorityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does well: it states result ordering (newest first), a hard result cap (at most 20), and the truncated return shape (short excerpt). It does not state whether the search is read-only or whether any permission scope applies, and the relationship between the limit parameter's default of 10 and the stated 20-ticket ceiling is left ambiguous.

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?

Front-loaded with purpose, then a compact per-parameter block, then return behavior, then the alternative tool — a clean spec with no redundant sentences. Each line contributes either selection guidance or invocation detail.

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 tool with no annotations, no output schema and zero schema description coverage, the description supplies nearly everything an agent needs: purpose, matching semantics, enum values, ordering, result size, truncation behavior, and the follow-up tool. The lone gap is the limit parameter's meaning relative to the stated 20-result maximum.

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 must compensate, and it does for query (substring-match scope across subject, description, requester email, plus the empty-matches-all case) and for status and priority by enumerating their valid values — detail the schema does not carry at all. However, the limit parameter is never explained, and the stated 20-result cap sits uneasily against its default of 10, leaving one of four parameters under-specified.

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 ("Search support tickets by keyword") and scopes it to a topic or requester. It also explicitly separates itself from get_ticket by naming that sibling and assigning it the full-text role, so an agent can choose between them without opening either schema.

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 clear when-to-use context ("find tickets about a topic or from a customer") and an explicit handoff rule: use get_ticket for full text. What is missing is any when-not guidance — e.g. browsing by account or listing at-risk tickets, which the sibling names suggest exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.