Skip to main content
Glama

getBenefitCategories

Read-only

List benefit categories. Omit locationRef to list categories across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId.

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

Input Schema

NameRequiredDescriptionDefault
locationRefNoUUID of the location whose benefit categories to list, in member-facing order. Omit to list the categories of every location of the network.

Output Schema

NameRequiredDescriptionDefault
categoriesYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: omitting the filter widens the result set to every location in the network, which materially changes result size and scope. Return shape is left to the output schema, which exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the parameter branching, then the dependency-resolution hint. No filler and nothing buried.

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?

For a simple read-only lister with one optional UUID parameter, complete annotations, and an output schema, the description covers purpose, scoping behavior, and how to obtain the referenced ID. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100% and the schema already explains that omitting locationRef lists categories for every location. The description's restatement of that omit-vs-provide behavior adds little beyond the schema, so baseline 3 applies.

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?

Opens with a specific verb+resource ("List benefit categories"), which is unambiguous and readable against siblings like getBenefitCategory or getShopCategories. It stops short of explicitly differentiating itself from those siblings, so it is clear but not fully self-distinguishing.

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?

Gives explicit conditional guidance for the only parameter: omit locationRef for network-wide listing, supply it to scope to one location. It also routes the agent to getLocations/getLocation to resolve a locationRef. It does not state when to prefer this over the singular getBenefitCategory, but the usage context is otherwise clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources