Skip to main content
Glama
ellmos-ai

ellmos-homebase-mcp

Official

hb_lock_check

Check whether a project directory currently has an active lock before any write action. This read-only check prevents conflicts and unsafe writes.

Instructions

Check whether a project directory currently has an active lock -- call this BEFORE any write action there (read-only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-alpha.29

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the operation is read-only and should precede writes, but omits authentication needs, return semantics, and failure behavior, leaving clear gaps.

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?

The description is a single, front-loaded sentence that states the action, scope, timing prerequisite, and read-only nature without any wasted words.

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 low-complexity, one-parameter read tool with no output schema and no annotations, the description covers purpose, timing, and safety sufficiently. It could still say more about the return value or lock semantics, but the essential information is present.

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 description coverage is 0% and the single parameter project_dir is only named in the schema. The description adds that it refers to a project directory, which clarifies meaning, but does not specify path format, relative vs. absolute, or any other constraint.

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 states a specific verb and resource: checking whether a project directory has an active lock. It does not explicitly distinguish itself from the sibling tool hb_lock_list, so it falls short of a 5 despite being clear.

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?

It gives explicit timing guidance: call this BEFORE any write action there. However, it does not mention alternatives or when-not to use it, such as hb_lock_list, so it is not fully complete.

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