Skip to main content
Glama

search_tickets

Search and filter Freshdesk tickets by text, status, priority, type, overdue, escalation, requester, company, or date to locate open, pending, resolved, or closed issues.

Instructions

Search and filter Freshdesk tickets. All fields are optional. Filters: - query: text matched against subject or type - status: 2=open, 3=pending, 4=resolved, 5=closed - priority: 1=low, 2=medium, 3=high, 4=urgent - type: "Question", "Incident", "Problem", "Feature Request" (Freshdesk defaults; yours may differ) - overdue: true = tickets past due_by that are still open or pending - is_escalated: true = escalated tickets only - created_after / created_before: ISO8601 date e.g. "2026-06-01T00:00:00Z" - requester_id: from find_requester tool - company_id: from find_company tool Examples: Overdue tickets: {"overdue": true} Open incidents: {"type": "Incident", "status": 2} High priority open: {"status": 2, "priority": 3} All tickets from Acme: first call find_company query="Acme", then use company_id

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
typeNo
queryNo
statusNo
overdueNo
agent_idNo
group_idNo
priorityNo
company_idNo
is_escalatedNo
requester_idNo
created_afterNo
updated_sinceNo
created_beforeNo

Output Schema

NameRequiredDescriptionDefault
totalYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Search' implies a read-only operation, but the definition never states whether results are paginated, capped, sorted, or how large a result set can be returned. It adds genuine value by decoding status/priority/type enum values, but leaves the operational profile of the call undisclosed.

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?

The scope statement is front-loaded and the per-filter bullet list is easy to scan. The examples section is useful but partially redundant with the bullets above it, adding length without new 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 13-parameter tool with no annotations, the definition is nearly complete: filter semantics, enum decoding, date formats, and a dependent-tool workflow are all present, and the output schema covers return values. The unexplained agent_id/group_id/updated_since parameters and absent pagination/result-limit behavior are the remaining holes.

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 description coverage is 0%, so the description must compensate, and it largely does: it explains 10 of 13 parameters and supplies value mappings the schema lacks entirely (status 2/3/4/5, priority 1-4, type names, overdue semantics tied to due_by, ISO8601 date format). Three parameters — agent_id, group_id, and updated_since — receive no explanation anywhere, which is the main gap.

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?

The description opens with a specific verb and resource: 'Search and filter Freshdesk tickets', which is immediately distinguishable from a single-ticket fetch like get_ticket. It does not explicitly contrast itself with the sibling list_tickets, so the boundary between 'search' and 'list' is left implicit.

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?

Usage is well contextualized: it states all fields are optional, gives three concrete filter-combination examples (overdue, open incidents, high-priority open), and describes a cross-tool workflow for company_id ('first call find_company query="Acme", then use company_id'). It stops short of stating when to prefer this over list_tickets or when to fall back to get_ticket.

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