Skip to main content
Glama
Recursive Flow
by fritzprix

Finish Job

finishJob

Completes a job and generates a final report with all accumulated results. Use it to close out a recursive workflow and deliver consolidated output for a given job ID.

Instructions

Completes the job and generates final report with all accumulated results.

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>"
    },
    "name": "finishJob"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe unique identifier of the job

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one side effect — accumulating results into a final report — but says nothing about whether the operation is terminal or destructive, whether the job can be finished twice, whether it requires permissions, or what happens on failure.

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?

One short, front-loaded sentence with no wasted wording. It is efficient, though the brevity comes at the cost of the behavioral and usage detail noted elsewhere.

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?

For a single-parameter lifecycle operation with no annotations and no output schema, the description is minimally adequate but thin. It never clarifies whether the generated report is returned or only stored, nor what an agent should expect after calling it.

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?

With a single jobId parameter at 100% schema description coverage, the schema already documents the only input. The description adds no meaning beyond that, so the baseline 3 applies.

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 names a specific verb and resource: it completes the job and produces a final report from accumulated results. That is clear about what happens, but it never distinguishes this from siblings such as reportExecution or startJob, so the agent must infer the lifecycle role on its own.

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 about prerequisites (must the job be started first?), whether it is the terminal step, or how it relates to reportExecution. Usage is only implied by the word 'finish'.

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