Skip to main content
Glama

Claim a Pickfix batch

pickfix_claim_batch

Claim a PickFix feedback batch before changing code to get reviewer requests, code locations, screenshots, and reference images. Omit batch ID to claim the oldest queued batch.

Instructions

Claim a feedback batch before changing any code for it, and receive its items: the reviewer's requests, where each element or region lives in the code, screenshots of the current state and any reference images showing the desired look. Without batchId, claims the oldest queued batch. A batch can be claimed only once across all sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdNoThe batch id from the channel event or pickfix_list_batches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/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 well: it discloses the exclusivity constraint ('claimed only once across all sessions') and enumerates the returned payload (reviewer requests, code locations, screenshots, reference images) despite there being no output schema. It omits auth/permission requirements and what happens if a claim fails, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: purpose and timing, returned payload, default behavior, and the once-only constraint. The action and its precondition are front-loaded before the payload detail.

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 single optional-parameter tool with no annotations and no output schema, the description compensates well by describing the return contents and the exclusivity rule. The remaining gap is failure behavior (e.g., a batch already claimed by someone else) and any permission requirements.

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 description coverage is 100% for the single batchId parameter, so the baseline would be 3, but the description adds real semantics beyond the schema by explaining the omitted-parameter default (claims the oldest queued batch). It does not clarify format or where ids come from beyond the schema's own note.

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 and resource ('Claim a feedback batch') plus the scope of what follows (before changing code) and what the caller receives. It does not explicitly distinguish itself from siblings like pickfix_list_batches or pickfix_status, though the 'oldest queued batch' default implies the queue semantics that separate it from listing tools.

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?

'Claim a feedback batch before changing any code for it' gives an explicit precondition for use, and 'Without batchId, claims the oldest queued batch' documents the no-argument path. It stops short of naming an alternative tool or stating when not to claim, so routing between pickfix_claim_batch and pickfix_list_batches remains partly inferential.

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