Skip to main content
Glama

claims

List active advisory locks for your project before shared actions like pushing, or check every project on the bus with all_projects=True to see if another agent has claimed the action.

Instructions

List active advisory locks. Defaults to your project; set all_projects=True for every lock on the bus. Check this before a shared action (like pushing) to see if another agent has claimed it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "claims"
  }
}

Input Schema

NameRequiredDescriptionDefault
all_projectsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; 'List' establishes a read-only character and it discloses the scoping behavior (project by default, whole bus with all_projects). It says nothing about the return shape, whether lock holder/age is included, or staleness of locks, which matters for a lock-inspection tool with no output schema.

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 short sentences, front-loaded with purpose, then parameter behavior, then usage rationale. No filler or repetition.

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?

The tool is simple (one optional boolean, no nested objects), and the description covers scope and intent adequately. However, with no output schema the description never indicates what a lock entry contains, which the agent needs in order to interpret the listing.

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

Parameters5/5

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

Schema coverage is 0% for the single parameter, and the description fully compensates: the default means your project's locks, and all_projects=True means every lock on the bus. That is precisely the meaning an agent needs and the schema does not supply.

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 and resource ('List active advisory locks') plus its scope default, and the singular sibling 'claim' makes the plural listing tool's role distinguishable. An agent can tell it apart from the lock-acquisition sibling without opening the schema.

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 explicit when-to-use context: check before a shared action such as pushing to see if another agent has claimed it. It lacks an explicit counter-statement (e.g. 'use claim to acquire a lock'), so the boundary with the singular 'claim' tool is implied rather than stated.

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