Skip to main content
Glama

generate_categories

Analyze email patterns to create custom categories. Set overwrite=true to save the generated categories.

Instructions

실제 메일 패턴을 분석해 맞춤 카테고리를 자동 생성합니다. overwrite=true로 설정해야 저장됩니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
overwriteNo
sample_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.5

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does disclose a key non-obvious behavior: categories are only saved when overwrite=true. However, it does not explain what happens when overwrite is false, whether existing categories are replaced, or other side effects of the operation.

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?

The description is two short sentences with no filler. The main purpose is front-loaded, and the critical saving condition immediately follows. Every word earns its place.

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

Completeness3/5

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

For a tool with no annotations and no output schema, the description is somewhat thin. It conveys the core purpose and the overwrite requirement, but it omits what sample_size controls, what the output looks like, and the implications of overwrite=false. An agent could invoke it correctly but might misunderstand persistence or return behavior.

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 0%, so the description must compensate. It adds meaningful context for the overwrite parameter by explaining that it must be true for saving to occur. However, it provides no information about sample_size, leaving that parameter dependent entirely on the schema's default/min/max constraints.

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 a specific action: automatically generating custom categories from analyzing actual email patterns. This distinguishes it from sibling tools focused on listing accounts, checking/reading mail, and managing watched mailboxes, since it is the only category-generation tool.

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?

The description gives one important usage constraint: overwrite must be true for results to be saved. However, it does not explicitly state when to use this tool versus alternatives, nor does it mention situations where generation might be inappropriate or unnecessary.

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