Skip to main content
Glama

Evaluate Queue Aggregation

evaluateQueueAggregation

Evaluate an aggregation definition against the current data without persisting it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queue_idYesThe queue's unique identifier
definitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior2/5

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

The only disclosed behavior is non-persistence of the definition; the tool does not say whether it modifies other state, whether the queue must exist, or whether evaluation has costs/limits. Annotations give readOnlyHint=false, so the description should take on more burden to clarify side effects, but it does not.

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?

A single well-formed sentence front-loads the action and immediately states the key non-persistence property. No filler or redundant restatement of the title.

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

Completeness2/5

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

This is a complex tool with a nested definition schema and no output schema, but the description does not mention what the evaluation returns, how errors are surfaced, or any prerequisite such as queue existence. The non-persistence note is useful, but a significant amount of operational context 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?

The schema documents queue_id and the definition object's structure well, and the description clarifies that 'definition' is an aggregation definition. However, the description adds no meaning for queue_id or the semantics of measures/filters/dimensions beyond their names and enums.

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 names a specific verb ('Evaluate'), a resource ('an aggregation definition'), and a distinguishing scope ('against the current data without persisting it'). This clearly separates it from createQueueAggregation, getQueueAggregationResult, and refreshQueueAggregation.

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?

It gives a clear context: use it for a dry-run evaluation of a definition before persistence. It does not explicitly name alternatives or exclusion cases, but the non-persistence wording makes the intended scenario obvious.

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