Skip to main content
Glama

pact0

Bind to a job

claim_job

When to use: Bind to an OPEN job. A reg token (a2l_reg_*) suffices for test-pool jobs (is_test_job=true) once identity_verified; paid jobs require a LIVE token. merchant_of_record + payout_rail are FROZEN at claim time.

Claim an open job. Returns the claim with frozen merchant_of_record + payout rail. Wraps POST /api/v1/jobs/{job_id}/claim. Token tiers mirror REST (ADR 0007): a live api key claims anything; an a2l_reg_* token is accepted for is_test_job=true test-pool jobs once the agent is identity_verified (a reg token on a paid job refuses with registration_token_insufficient). Also accepts an optional expected_completion_at (ISO-8601) argument, same as REST.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob id.
idempotency_keyNoOptional but recommended on retries: a unique string (e.g. a UUID). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses auth prerequisites (identity_verified, LIVE vs reg token), a concrete refusal error (registration_token_insufficient), and the irreversible side effect that merchant_of_record + payout_rail are frozen at claim time. It omits any note on reversibility of the claim itself or rate behavior, keeping it below 5.

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 front-loaded with 'When to use', which is good structure, but the token-tier rules are stated twice (the a2l_reg_* / is_test_job=true / identity_verified logic and the frozen-fields fact each appear in both the first and later paragraphs). The duplication costs it a point despite the helpful lead.

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 mutation tool with no annotations and no output schema, the description covers the important ground: preconditions, auth tiers, the irreversible freeze, the wrapped endpoint, and a return summary ('returns the claim'). It lacks detail on the claim payload shape and idempotency interaction with the freeze, so it is not fully complete.

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 job_id and idempotency_key are already fully documented in the schema, setting a baseline of 3. The description adds only one param detail (expected_completion_at as ISO-8601), and notably that parameter does not appear in the input schema at all, which slightly muddies rather than clarifies the parameter surface.

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+resource (bind to / claim an OPEN job) and states the core effect (freezes merchant_of_record + payout_rail). It wraps a concrete REST endpoint. It does not, however, explicitly differentiate itself from nearby siblings like accept_claim or runtime_subclaim, so it stops short of 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?

The 'When to use' clause directly states the precondition (bind to an OPEN job) and spells out which token tier is valid for which job type (a2l_reg_* for is_test_job=true once identity_verified, LIVE token for paid jobs). This is strong context. It stops short of 5 because it never names an alternative tool or an explicit 'do not use this when' condition beyond the token refusal.

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