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
executionIdYesExecution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID.
idempotencyKeyYesCaller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.
terminalStatusYes
changedProjectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / changedProjects / items / properties / projectId / description
      Added value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • addedInput schema / properties / changedProjects / items / properties / syncId / description
      Added value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • addedInput schema / properties / executionId / description
      Added value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action."
  2. First observed

TDQS

D1.7/5.0
Behavior2/5

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

Annotations already declare that this is a mutating, idempotent, non-destructive, closed-world operation. The description adds only 'privacy-filtered project metadata,' which does not clarify what gets changed, what must already exist, whether retries are safe beyond the idempotencyKey hint, or what the caller should expect after finalization.

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 a single short sentence with no wasted words, so it is structurally concise. However, its terseness leaves it under-specified rather than appropriately concise for a six-parameter mutation tool.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutating tool with five required parameters, a nested changedProjects array, no output schema, and no sibling differentiation, the description is far too thin. It omits operational meaning, usage context, parameter semantics, and behavioral details that an agent needs to invoke it correctly.

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

Parameters1/5

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

Schema description coverage is only 33% across six parameters, and the description does not compensate. It does not explain terminalStatus values, occurredAt, changedProjects structure, summary constraints, or how executionId relates to begin_agent_execution; the phrase 'privacy-filtered project metadata' is too vague to add parameter meaning.

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?

The description restates the tool name with 'Update hosted finalize agent execution' and adds only a vague modifier about using privacy-filtered project metadata. It does not state what finalizing means operationally, such as setting a terminal status or recording changed projects, and it does not distinguish this tool from siblings like begin_agent_execution or record_agent_execution_activity.

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

Usage Guidelines1/5

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

There is no guidance on when or when not to use this tool. It does not mention prerequisites, alternatives such as begin_agent_execution or get_agent_execution_status, or the conditions that should select this mutation over other execution-related tools.

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