Skip to main content
Glama

search_tickets

Search and filter Freshdesk tickets by status, priority, type, overdue, escalation, dates, requester, or company to find specific support 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: "False Positive", "False Negative", "Service Request", "Incident" - 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 false positives: {"type": "False Positive", "status": 2} High priority open: {"status": 2, "priority": 3} All tickets from Defence: first call find_company query="Defence", then use company_id

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are present, so the description carries the full behavioral burden. It discloses filter semantics such as overdue and is_escalated behavior plus date formats, but omits pagination, result limits, default sorting, and permission/auth requirements. The existing output schema reduces the need to explain return values.

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 description is front-loaded with purpose and optionality, then organized into a filter list and examples. It is longer than minimal but most lines add concrete value; the structure is easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter search tool with 0% schema coverage and no annotations, the description is helpful but incomplete. It leaves three filters undocumented and gives no pagination, result-limit, or default-behavior guidance. The output schema covers return values, but key search-behavior gaps remain.

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. It documents 10 of 13 parameters with enum mappings for status/priority/type, date format details, and cross-tool sourcing for requester_id and company_id, but misses agent_id, group_id, and updated_since.

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 states a specific verb and resource: 'Search and filter Freshdesk tickets', and notes all fields are optional. It does not explicitly distinguish itself from the sibling list_tickets tool, which prevents a 5.

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 gives concrete filter examples and cross-tool guidance for requester_id and company_id, showing how and when to use the tool. However, it lacks explicit when-not guidance or a direct comparison to alternatives like list_tickets.

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