Skip to main content
Glama
OktoLabsAI

okto-nexus

by OktoLabsAI

handoff_complete

Mark a claimed handoff as completed, or send it to verification when acceptance criteria require a verifier decision.

Instructions

Owner-only delivery of a CLAIMED handoff: -> COMPLETED, or -> VERIFYING when acceptance_criteria were set (verifier decides via handoff_verify). In strict mode pass session creds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoCompletion result (optional; string or JSON) persisted on the handoff, recorded with handoff.completed, and delivered to the creator inbox.
agent_idYesYour agent_id (the worker); scopes visibility/eligibility and ownership. REQUIRED.
handoff_idYesThe handoff_id to act on. REQUIRED.
session_idNoYour session_id from session_open (optional in trust_mode=open; REQUIRED together with session_secret in trust_mode=strict).
project_rootYesAbsolute path to the project (defines the workspace scope).
session_secretNosession_secret from session_open for session_id (optional in open mode but VALIDATED if supplied; REQUIRED in strict mode).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.10

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the ownership restriction and the strict-mode session-credential requirement, which is valuable. However, it omits irreversibility, error behavior, and the side effect that the result is persisted and delivered to the creator inbox (that detail only lives in the schema).

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 dense sentence that front-loads the key state-transition and ownership facts with no wasted words. The terse arrow notation is efficient, though slightly cryptic for an agent parsing on first read.

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

Completeness4/5

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

For a state-mutating handoff tool with an output schema covering returns, the description supplies ownership, transition logic, the verify path, and auth mode. That is nearly sufficient, with only irreversibility/error semantics left unaddressed.

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 already documents agent_id, handoff_id, session_id/secret, result, and project_root. The description adds the strict-mode credential hint but otherwise repeats what the schema provides. Baseline 3 is appropriate.

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+resource ('delivery of a CLAIMED handoff') and spells out the resulting state transitions (-> COMPLETED, or -> VERIFYING). It is clearly distinguishable from siblings like handoff_verify, handoff_reject, and handoff_cancel.

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

Usage Guidelines4/5

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

Explains the branching condition for COMPLETED vs VERIFYING and names handoff_verify as the decider when acceptance_criteria were set, plus the owner-only constraint. It stops short of explicitly stating when to prefer handoff_cancel or handoff_reject instead, so no full when-not coverage.

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