Skip to main content
Glama
OktoLabsAI

okto-nexus

by OktoLabsAI

handoff_verify

Issue a verifier-only verdict on a VERIFYING handoff: pass completes it; fail returns it to the claimant with feedback and a renewed lease for rework. In strict mode, provide session credentials.

Instructions

Verifier-only verdict on a VERIFYING handoff: 'pass' -> COMPLETED (verified_by), 'fail' -> CLAIMED for rework (feedback + renewed lease). In strict mode pass session creds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verdictYesThe verdict. one of: pass (VERIFYING -> COMPLETED; handoff.completed carries verified_by), fail (VERIFYING -> CLAIMED for rework, lease renewed). REQUIRED (lowercase).
agent_idYesYour agent_id (the verifier); must satisfy the handoff's verify_by resolved AT VERIFY TIME. The claimant (claimed_by) is always refused. REQUIRED.
feedbackNoRework guidance (optional; max 2000 chars; only with verdict 'fail'). Persisted (each fail overwrites the previous) and delivered to the claimant's inbox.
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

B3.3/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, and it does disclose the two verdict outcomes, that feedback overwrites previous feedback and goes to the claimant's inbox, and the strict-mode credential requirement. It omits error/edge behavior (wrong state, idempotency, concurrency) that matters for a state-mutating tool.

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?

It is short and front-loads the core behavior, but the telegraphic style ('pass session creds', arrow notation) sacrifices readability, and the opening clause is dense enough that an agent must re-read it to parse the state transitions.

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?

An output schema exists so return values need not be explained, and the description covers the primary path. For a 7-parameter, multi-mode (open vs strict trust) verification tool with no annotations, however, more operational context (preconditions, failure behavior) would be needed for full completeness.

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 coverage is 100%, so the schema already documents every parameter including feedback and the session credentials. The description's only added param meaning is a restatement of the strict-mode session requirement ('pass session creds'), which the schema already states, 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?

The description names a specific verb and resource ('verifier-only verdict on a VERIFYING handoff') and spells out both state-machine outcomes, which lets an agent distinguish it from handoff_complete, handoff_reject, and handoff_cancel. It is clear but relies on terse jargon rather than plainly naming the siblings it is not.

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?

'Verifier-only' and the VERIFYING precondition imply when the tool applies, and the agent_id note ('the claimant is always refused') narrows the caller. But it never explicitly contrasts this with the sibling verify/complete/reject tools or states what to do when the handoff is in another state, so usage is only implied.

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