Skip to main content
Glama

claim_map_scope

Idempotent

Advisory claim on a repository subtree so concurrent mappers avoid overlapping work. Claims expire on their own and never block a publish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentIdYes
projectIdYesOwned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.
sessionIdNoOwned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL.
ttlSecondsNo
scopePrefixYes
idempotencyKeyYesCaller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint, destructiveHint=false and openWorldHint=false, so the description's real contribution is the 'advisory' semantics — claims expire on their own and never block a publish — which meaningfully tells the agent the claim is not a hard lock. It omits TTL behavior detail (60–3600s range), auth requirements, and what happens on a conflicting claim.

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?

Two tight sentences, front-loaded with the purpose and followed by the two behavioral caveats that matter most. No wasted words.

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?

For a 6-parameter mutation with no output schema, the description covers the concept but not the contract: it does not say what a successful claim returns, how a conflicting claim is surfaced, whether release_map_scope must eventually be called, or what ttlSeconds defaults to. Adequate, but gaps remain an agent would want filled.

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

Parameters2/5

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

Schema description coverage is only 50% and the description mentions no parameter at all. scopePrefix, agentId, ttlSeconds and sessionId have no documented meaning anywhere, and the scopePrefix path-safety pattern and TTL bounds are left for the agent to infer from the JSON schema alone.

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 (claim) and resource (repository subtree / scope) with its rationale (so concurrent mappers avoid overlapping work). An agent can tell this is a coordination primitive rather than a data read/write, though it never names the counterpart sibling release_map_scope to disambiguate the pair.

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?

The advisory nature and the fact that claims 'never block a publish' imply when this is appropriate (soft coordination before mapping a subtree), but there is no explicit statement of when to call it versus release_map_scope, get_ownership, or inbox_claim, and no prerequisites named.

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