Skip to main content
Glama

handoff — agent swarm coordination

Resolve task key

resolve_task
Read-onlyIdempotent

P-KEYS: resolve a stable caller-provided external_key to a task id so an automation lane never hardcodes a UUID that churns on every board reorg. Scope with request_id (or omit it for a global lookup that errors on cross-project ambiguity). Returns {task_id} or not_found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_idNooptional project scope; omit for a global unique-match lookup
external_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description goes further by disclosing the return contract ('{task_id} or not_found') and the failure mode for an unscoped ambiguous lookup, which is genuine behavioral context beyond the annotations.

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?

Two tight sentences with no wasted words and the core action front-loaded. The 'P-KEYS:' token is opaque jargon that costs a beat of clarity, and the rationale clause is dense, but overall it is efficient and well ordered.

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?

With no output schema, the description usefully supplies the return shape and the not_found/ambiguity outcomes, and annotations carry the safety semantics. For a 2-parameter tool this is nearly complete; only richer error detail would push it higher.

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

Parameters4/5

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

Schema coverage is 50% (external_key has no schema description), and the description compensates by characterizing external_key as a 'stable caller-provided' key. It explains request_id scoping in terms consistent with, though not much beyond, the schema. Appropriate value added given the coverage gap.

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 specific verb (resolve) and resource relationship (external_key -> task id), which is clearly distinct from list_tasks/update_task/verify_task siblings. The 'P-KEYS:' prefix and the 'automation lane never hardcodes a UUID' rationale add flavor but the definition never names or contrasts an alternative sibling explicitly, keeping it just below a 5.

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?

Gives clear conditional guidance for the key parameter: scope with request_id, or omit it for a global lookup that errors on cross-project ambiguity. It also implies the intended usage (avoiding churned UUIDs) but does not point to a sibling for the case where you don't yet have an external_key.

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