Skip to main content
Glama
Recursive Flow
by fritzprix

Report Execution

reportExecution

Reports the result of a tool execution by job ID and tool name, so automated workflows can track outcomes and continue recursive task orchestration.

Instructions

Reports the result of a tool execution.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jobId": "<jobId>",
      "tool": "<tool>"
    },
    "name": "reportExecution"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesName of the tool that was executed
jobIdYesThe unique identifier of the job
resultNoResult from the tool execution

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.3/5.0
Behavior2/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 and largely fails it. It does not say whether calling it is idempotent, whether it mutates job state or is purely a log write, whether it can be called multiple times per job, or what happens when 'result' is omitted.

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?

It is a single front-loaded sentence with zero filler, but it is under-specified rather than concise. The length is not the problem; the sentence simply does not carry enough information for the tool's role.

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?

For a tool in a job-execution lifecycle with no annotations and no output schema, the description should clarify how a reported result relates to job completion and to finishJob/completeTodo. None of that lifecycle context or return behavior is present.

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 tool, jobId, and result; the baseline of 3 applies. The description adds no extra meaning about acceptable result shapes, payload size limits, or whether result is optional in practice.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Reports the result of a tool execution" is essentially the tool name/title (Report Execution) restated as a sentence. It gives no distinguishing detail versus siblings such as finishJob or completeTodo, so an agent cannot tell what makes this tool distinct from other job-lifecycle tools.

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 guidance at all: nothing says whether this should be called after every tool execution, only on failure, before or after finishJob, or what happens if it is omitted. The agent must guess its place in the plan/execute/complete workflow.

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