Skip to main content
Glama

SummarizeStage

Execute a single SUMMARIZE-category pipeline stage on a set of assets. Produces aggregate data and statistics. Supported stage_type values: count, group_by, stats, histogram.

Input Schema

NameRequiredDescriptionDefault
assetsYesArray of asset hashes to summarize
configNoStage-specific configuration. count: { group_by: "tool" }. group_by: { field: "mime_type" }. stats: { field: "file_size" }. histogram: { field: "created_at" }.
dry_runNoIf true, simulates execution without side effects
stage_typeYesThe SUMMARIZE stage type to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states the tool produces aggregate data, but never says whether the stage persists results or is purely computational, what permissions are required, whether it is idempotent, or what the caller gets back — despite the presence of a dry_run flag implying real side effects.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action and scope, with no filler. The final sentence restating the stage_type values is mildly redundant with the schema enum but costs little.

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?

With no output schema, the description should clarify the return shape and execution side effects, but only says 'aggregate data and statistics.' It also omits how this stage relates to pipelines/templates, leaving the agent to guess at the execution context.

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%, so the schema already documents assets, config, dry_run and stage_type. The description repeats the stage_type enum values and says nothing about config shape, adding no meaning beyond what the structured schema provides.

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 gives a specific verb (Execute), resource (SUMMARIZE-category pipeline stage) and scope (a set of assets), and states the outcome (aggregate data and statistics). It is clearly distinguishable from read-oriented siblings like GetAssetDetails, though it never explicitly says which sibling to prefer.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives such as ListPipelines or GetExperimentSummary. The agent must infer that this is the tool for computing summaries over asset sets.

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