Skip to main content
Glama

finalize_agent_execution

Idempotent

Update hosted finalize agent execution using privacy-filtered project metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryNo
occurredAtYes
executionIdYes
idempotencyKeyYes
terminalStatusYes
changedProjectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations provide idempotentHint=true and destructiveHint=false, so the description does not need to repeat those traits. It adds a useful behavioral note about sending privacy-filtered project metadata, which is valuable beyond the schema. However, it does not disclose terminal statuses, idempotency key behavior, or that this is the final write for an execution.

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?

The description is short and not padded, which is positive. However, its brevity comes at the cost of clarity, and the phrase 'hosted finalize agent execution' is syntactically confusing. It is under-specified rather than efficiently informative.

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 6-parameter, 5-required-field write operation with no output schema and no schema property descriptions, this description is severely incomplete. It omits terminal status values, idempotency semantics, the shape of changedProjects, and any return behavior. An agent cannot safely finalize an execution from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden of explaining parameters. It hints that changedProjects should contain privacy-filtered metadata, which adds meaning beyond the schema. But it does not explain executionId, terminalStatus, occurredAt, idempotencyKey, changedProjects structure, or summary; an agent must rely entirely on parameter names and schema constraints.

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

Purpose3/5

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

The description identifies the resource ('agent execution') and an update action, so an agent can roughly infer that it records a terminal state. However, the phrasing 'Update hosted finalize agent execution' is awkward and partially restates the tool name, and it does not state the key effect of marking an execution as completed, failed, cancelled, or interrupted. It also does not distinguish itself from sibling tools like begin_agent_execution or get_agent_execution_status.

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?

No guidance is given for when to use this tool versus alternatives. There is no mention of 'use when an execution reaches a terminal state' or 'prefer get_agent_execution_status for checking current state.' The only contextual phrase, 'privacy-filtered project metadata,' is a data constraint, not a usage trigger.

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