Skip to main content
Glama

Check Tangled Hosting

git_tangled_check
Read-onlyIdempotent

Detect whether a local Git repository's origin remote points to a Tangled host; use this to confirm no PR/MR surface exists before Git operations.

Instructions

Detect whether the repository origin remote points at a Tangled host (tangled.org or a self-hosted knot). Tangled is a decentralized Git host on the AT Protocol — git transport works normally via git-mcp tools, but there is no PR/MR surface.

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": "git_tangled_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_pathNoAbsolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument.
response_formatNoOutput format for the response.markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the description correctly spends its words on domain semantics instead: what a Tangled host is, that git operations still function, and that PR/MR functionality is absent. It omits what the response actually contains (boolean vs. detected host name), which is the one behavioral gap.

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 sentences, no waste, and the core detection purpose is front-loaded before the explanatory context about AT Protocol and the missing PR surface.

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?

There is no output schema, so the description carries the burden of explaining the return value, and it never says whether the result is a boolean, a host identifier, or a format-dependent payload. Everything else an agent needs to call it correctly (parameters, safety, domain context) is covered.

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 100% for both parameters, including the repo_path fallback to GIT_REPO_PATH/--repo-path and the response_format enum with default. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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: 'Detect whether the repository origin remote points at a Tangled host,' with a parenthetical defining both host forms (tangled.org or a self-hosted knot). It does not explicitly distinguish itself from the analogous sibling checks (git_but_check, git_entire_check, git_jj_check), so it falls just short of the top mark.

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?

The description frames the practical context well: git transport works normally via git-mcp tools, but there is no PR/MR surface, which tells the agent this is a precondition check before reaching for PR tooling. It stops short of explicitly naming an alternative (e.g., git_remotes) or stating a when-not condition.

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