Skip to main content
Glama

finish_node_work

Idempotent

Request the connected local agent to finish node work; the server stores only bounded metadata and an attested outcome.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesTarget node ID from this project's published graph; use get_roots and get_graph_scope to discover nodes. Not a file path.
detailsNoOptional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content.
projectIdYesOwned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.
sessionIdNoOwned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.
executionIdNoOwned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.
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.
expectedVersionYesCurrent version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / details / description
      Added value: +"Optional bounded metadata using only the listed fields, such as summary, status and referenceIds. Not arbitrary command arguments or source content."
    • addedInput schema / properties / details / properties / referenceIds / items / description
      Added value: +"Target node ID from this project's published graph; use get_roots and get_graph_scope to discover nodes. Not a file path."
    • addedInput schema / properties / details / properties / status / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / executionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / expectedVersion / description
      Added value: +"Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying."
    • 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."
    • addedInput schema / properties / nodeId / description
      Added value: +"Target node ID from this project's published graph; use get_roots and get_graph_scope to discover nodes. Not a file path."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnly=false, idempotent=true, destructive=false), so the bar is lower. The description still adds real context beyond them: it discloses that the operation is delegated to a local agent and that the server persists only bounded metadata plus an attested outcome, which explains why details is field-restricted.

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?

A single front-loaded sentence with the action first and the storage caveat second; every clause carries information. The compressed storage clause is slightly dense but not wasteful.

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 required-param mutation with a nested object, an idempotency key, optimistic-concurrency versioning, and no output schema, the description covers the delegation model but omits what a successful finish changes, what happens if no local agent is connected, and how version conflicts surface.

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 itself documents nodeId, projectId, idempotencyKey, expectedVersion and the details object. The description's 'bounded metadata' phrase loosely reinforces the details constraint but adds no semantics beyond the schema, so 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?

States a concrete verb+resource (finish node work) and names the actor it targets (the connected local agent). It is distinguishable from siblings like start_node_work and finish_agent_session by the 'node work' scope, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the name pairing with start_node_work; there is no statement of when to call this versus finish_agent_session, finalize_agent_execution, or an abort path, and no precondition such as an active execution or connected agent being required.

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