Skip to main content
Glama
Zendesk MCP Server by Fruggr

Zendesk MCP Server by Fruggr

List User Segments

list_user_segments
Read-onlyIdempotent

List Zendesk Help Center user segments to find the ID that controls who can view an article, then use it when creating or updating articles.

Instructions

List user segments, which set who can view an article. Each has id, name, user type and built-in flag, for user_segment_id in create_article or update_article. Who can edit: list_permission_groups. Guide admins and Help Center managers only; otherwise reuse an article's user_segment_id from get_article, or omit it on create_article for everyone.

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_user_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.24.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv2.3.1
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv1.7.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered; the description adds the non-obvious access restriction (admins/Help Center managers) and the downstream purpose of the returned ids. It does not state whether the full list is returned or truncated, which is the one remaining behavioral unknown for a zero-parameter list call.

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?

Very dense with zero filler; purpose, field list, related tool, and audience caveat all appear up front. The telegraphic "Who can edit: list_permission_groups" fragment reads slightly clipped, but it costs no extra length and remains unambiguous.

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

Completeness5/5

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

There is no output schema, so the description carries the return-shape burden and does so by listing the four fields. Combined with the audience restriction and the fallback guidance, an agent has everything needed to decide whether to call this or route elsewhere.

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?

There are no input parameters, so the baseline is 4. The description still adds meaning by naming the output fields and by explaining that the id is consumed as user_segment_id in create_article and update_article, which links this tool to its downstream callers.

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 user segments") and immediately defines the resource semantically: segments "set who can view an article." It also enumerates the returned fields (id, name, user type, built-in flag), which distinguishes it from generic list tools in the sibling set.

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 explicit audience scoping ("Guide admins and Help Center managers only") plus concrete fallbacks when that condition fails: reuse a user_segment_id from get_article, or omit it on create_article for everyone. It also routes a related need (who can edit) to list_permission_groups, so the agent has both a when-to-use and a when-not-to-use path.

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