Skip to main content
Glama

get_categories

Retrieve unique venue categories from your check-in history with counts. Identify existing categories before applying filters.

Instructions

Get all unique venue categories from your check-in history with counts. Useful for discovering what categories exist before filtering. EXPENSIVE: Scans entire history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_scanNoMaximum items to scan (default 10000, use -1 for unlimited)
Behavior4/5

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

With no annotations, the description warns that the tool is 'EXPENSIVE: Scans entire history', which discloses a critical behavioral trait beyond the schema. It also implies output includes counts, adding context.

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?

Two sentences, front-loaded with purpose, then usage guidance and warning. Every sentence is valuable with no redundancy.

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 simple one-parameter tool with no output schema, the description explains output (unique categories with counts) and cost. It lacks details on pagination or format, but is sufficient for agent selection.

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 schema covers 100% of parameters, with 'max_scan' described. The description adds meaning by connecting max_scan to the cost warning, enhancing understanding of its purpose.

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?

The description clearly states the verb 'Get', the resource 'unique venue categories', and the output 'with counts'. It distinguishes this tool from siblings like get_checkin_stats or get_top_venues.

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?

The description includes explicit guidance 'Useful for discovering what categories exist before filtering' and warns 'EXPENSIVE: Scans entire history', but does not explicitly state when not to use or name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexpriest/swarm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server