Skip to main content
Glama

Finish work

finish_work
Destructive

Record completed repository implementation in one boundary call. Replaces the Work description with the factual implementedSummary and marks it done. If this closes the batch, batchSummary closes it in the same call; otherwise the response asks only for that missing summary. Calling it again on a done Work with batchSummary closes a Batch left open. A Work left planned or in progress inside a ready Batch is finished here too. Use it once implementation is complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId of the Work.
metricsNoOptional client measurements, stored on the workflow step this call completes.
batchSummaryNoWhat the Batch changed; needed when this closes the Batch.
implementedSummaryYesWhat was actually implemented; replaces the Work description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only supply destructiveHint=true; the description goes well beyond that by disclosing that the Work description is replaced (overwritten), that the call can cascade to close a Batch and even finish other Works inside a ready Batch, and how the response behaves when a summary is missing. This is rich, non-obvious side-effect disclosure.

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?

Front-loads the core action and stays dense, but the middle sentences about batchSummary closing and re-calling on a done Work are somewhat tangled and require re-reading. It is appropriately sized overall with no filler, but structure could be cleaner.

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

Completeness5/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 still explains the response contract ('the response asks only for that missing summary') and covers the mutation, cascade, and idempotency-like re-call behavior. Nothing an agent needs to invoke this correctly is missing.

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%, so the baseline is 3, but the description adds conditional meaning: implementedSummary overwrites the Work description, and batchSummary is required only when this call closes the Batch. That conditional requirement is not expressed in the schema, so it earns above baseline.

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 ('Record completed repository implementation', marks the Work done) and clearly differentiates itself from siblings like update_work and begin_work by describing a terminal state transition rather than a generic edit. An agent can identify the tool's role 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?

Gives an explicit trigger ('Use it once implementation is complete') plus conditional guidance: when batchSummary is needed, what happens on a repeat call against a done Work, and how a Work left planned/in-progress inside a ready Batch is handled. These are the exact conditions an agent needs to select and sequence this call.

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