Skip to main content
Glama

SKV Network

file_claim

Claim a relative path before editing. 409 if another agent holds it. Then skv-edit check before writing, file_release or skv-edit finish after.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "file_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
task_idNo
base_hashNo
session_idNo
agent_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose the key concurrency behavior (409 on contention) and the obligation to release afterward. It omits lock lifetime/expiry, whether a claim is exclusive or shared, and any auth expectation for agent_token/session_id, which matters for a mutual-exclusion tool.

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?

Short and front-loaded, with the primary action first and the lifecycle after. However, the phrasing is telegram-style and relies on opaque external terms ('skv-edit check', 'skv-edit finish') that an agent cannot resolve without prior knowledge, so brevity costs clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter locking tool with no annotations and no output schema, the description covers conflict semantics and sequencing but leaves the majority of parameters unexplained and says nothing about lock duration, reentrancy, or what a successful claim returns. It is not sufficient to call this tool correctly without guesswork.

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 0% across five parameters, so the description must compensate and largely does not: it clarifies only that 'path' is relative. task_id, base_hash, session_id, and agent_token are never explained, and base_hash in particular (likely an optimistic-concurrency check) is non-obvious without guidance.

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 relative path') plus the triggering condition ('before editing'), which clearly distinguishes it from the sibling file_release. The scope (relative path, not absolute) is also stated.

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 an explicit lifecycle: claim before editing, expect a 409 if another agent holds the lock, then run 'skv-edit check' before writing, and release or finish afterward. The only gap is that the referenced alternatives ('skv-edit check'/'skv-edit finish') are not sibling tools in the supplied list, so the agent must infer what they map to.

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