Skip to main content
Glama
freshdesk-mcp-server

freshdesk-mcp-server

by bcavas

search_tickets

Read-onlyIdempotent

Search Freshdesk tickets with query-language filters on status, priority, tags, assignee, requester, company, and dates, paging through up to 300 results for targeted support workflows.

Instructions

Search tickets using Freshdesk query language. Max 300 results total (30/page × 10 pages). Query syntax: "status:2 AND priority:4" for open+urgent. Searchable: agent_id, group_id, priority, status, tag, type, due_by, fr_due_by, created_at, updated_at, requester_id, company_id. Date format: 'YYYY-MM-DD'.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (max 10 pages × 30 results = 300 total)
queryYesFreshdesk search query. Examples: "status:2 AND priority:3", "tag:'billing'", "requester_id:12345". Supported fields: agent_id, group_id, priority, status, tag, type, due_by, fr_due_by, created_at, requester_id, company_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description still adds real operational context: the hard 300-result cap, the 30-per-page × 10-page pagination math, and the date literal format. It does not say what happens when a result set exceeds 300 (truncation vs. error), which is the one behavior an agent would most want to know.

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?

Four compact sentences, front-loaded with purpose then constraints then syntax then field list. The enumeration of searchable fields is dense but earns its place because it directly governs how the required query parameter must be written.

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 search tool with full schema coverage and no output schema, the definition covers purpose, syntax, supported fields, date format and the result ceiling. The only meaningful omission is the behavior at the 300-result boundary and whether results are relevance- or field-ordered.

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 coverage is 100%, so both parameters are already documented in the schema, and the description's field list largely repeats it. It does add two things the schema lacks: the 'YYYY-MM-DD' date literal format and the updated_at field (absent from the schema's field list), which is genuinely useful for constructing queries.

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 tickets') and names the query dialect (Freshdesk query language), which is enough to tell it apart from a plain listing tool. It stops short of explicitly naming list_tickets or get_ticket as the alternatives, so the differentiation is implied by the query-language framing rather than stated.

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 context is implied: you reach for this when you need filtered results via a query expression, and the examples show the shape of that expression. However, there is no explicit 'use this instead of list_tickets when...' routing, and no note about what to do when a query exceeds the 300-result ceiling or returns nothing.

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