Skip to main content
Glama

Report workflow step

report_workflow_step

Report the agent client's outcome and optional measured costs for a workflow step that has no expected lifecycle tool, a failure, the self-improvement step, or the client score. A step with an expected lifecycle tool is completed by that tool, which also accepts the client metrics, so it needs no report; failed blocks a step for another attempt. Optional stages are bypassed only by choosing a configured available edge with resume_workflow before entering them; once entered, every step is required. A completed self-improvement report closes that step and its reason describes what changed and why, or why nothing did. Research content is never stored. When one route follows, the response carries the next step's instructions; when several do, choose one with resume_workflow and its instructions arrive then.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdYesId of the Workflow run.
reasonNoWhat happened and why.
statusYescompleted, or failed to block the step for another attempt.
stepIdYesId of the step being reported.
metricsNoOptional client measurements for the step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false with destructiveHint=false, so mutation-but-safe is known. The description adds real behavioral context beyond that: 'failed' blocks the step for another attempt, a completed self-improvement report closes the step, research content is never stored, and the response mechanism (instructions carried when one route follows, resume_workflow when several). It stops short of mentioning auth or error behavior, so not a 5.

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

Conciseness3/5

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

Front-loaded with purpose, and every clause carries information, but the body is a dense run-on of semicolon-joined conditionals that is hard to parse on first read. Information density is high but structure is weak; a short bulleted when/when-not split would have served better.

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?

No output schema exists, and the description compensates by explaining what the response carries (the next step's instructions, or instructions arriving after resume_workflow). Combined with the lifecycle/failure semantics, an agent has enough to call this correctly, though error and idempotency behavior is unaddressed.

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?

Schema coverage is 100%, which sets a baseline of 3. The description earns above that by explaining the semantic weight of the fields beyond their schema text: 'failed blocks a step for another attempt' and the reason field 'describes what changed and why, or why nothing did,' which is richer than the schema's 'What happened and why.'

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?

States a specific verb and resource — reporting a workflow step's outcome and optional costs — and immediately scopes it against the lifecycle tools that would otherwise complete a step. An agent can tell it apart from resume_workflow or the lifecycle tools without opening the schema.

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

Usage Guidelines5/5

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

Explicit when-to-use cases are enumerated (no expected lifecycle tool, failure, self-improvement step, client score) and a when-not case is stated (a step with an expected lifecycle tool needs no report). The alternative for routing, resume_workflow, is named with its triggering condition.

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