Skip to main content
Glama

list_groups

Retrieve Freshdesk agent groups with their IDs and names to find the group_id needed for filtering tickets by team.

Instructions

List all Freshdesk agent groups. Returns group id and name. Use this to find the group_id for filtering tickets by team. Example workflow: list_groups → find "Support" id → search_tickets group_id= Known groups:

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": "list_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
totalYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden; it discloses that the call enumerates all groups and returns id/name pairs, which implies a read-only, exhaustive listing. It does not mention pagination limits, permissions, or result ordering, which are the remaining behavioral gaps for a zero-parameter list tool.

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?

Front-loaded with purpose, then return shape, then usage and a worked example — no wasted sentences. The trailing fragment "Known groups: " is dangling and evidently truncated, which is the only structural defect.

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?

With an output schema present and zero parameters, the description does not need to explain return values and correctly focuses on routing the agent toward the group_id workflow. The incomplete trailing "Known groups:" line leaves the definition visibly unfinished, but nothing essential for invoking the tool correctly 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?

The tool takes no parameters and the schema is an empty object, so there is no parameter semantics to add beyond confirming the call is unfiltered and returns every group. Baseline of 4 applies for a zero-parameter tool.

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 ("List all Freshdesk agent groups") and immediately names the returned fields (group id and name). An agent can distinguish this enumeration tool from the ticket-oriented siblings like search_tickets or get_ticket without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit reason to call it ("find the group_id for filtering tickets by team") plus a concrete chained workflow: list_groups → find "Support" id → search_tickets group_id=<id>. This names the downstream sibling and the condition that connects them, leaving little to inference.

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