Skip to main content
Glama

compare_departments

Compare several departments at once using chosen metrics to reveal performance gaps and support data-driven decisions.

Instructions

Compare several departments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricsNo
department_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, and it says nothing about whether the operation is read-only, whether it has side effects, what output it returns, or what data scope it covers. The word 'compare' weakly implies a read operation, but no behavioral trait is actually disclosed.

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

Conciseness2/5

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

The description is very short, but this is under-specification rather than deliberate conciseness. It states the purpose in one sentence and then stops, leaving essential context about parameters and behavior absent.

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

Completeness1/5

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

The tool has two parameters, no output schema, no annotations, and a vague one-line description. It does not explain what a 'comparison' returns, what metrics are available, or how the result should be interpreted. This is inadequate for an agent to invoke the tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/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 for the undocumented parameters. It only loosely matches 'several departments' to department_ids and does not explain the metrics parameter, how metrics should be formatted, or what values are valid.

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?

The description has a clear verb ('compare') and resource ('departments'), and 'several' hints that multiple departments are involved. It is clear enough to identify the basic operation, though it does not distinguish itself from siblings like rank_departments or compare_teachers beyond the entity type.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as compare_teachers, rank_departments, or get_department_analytics. The description implies a comparison use case but provides no exclusions, prerequisites, or conditions.

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