Skip to main content
Glama

Scan repository architecture

arch_scan

Scan a repository to detect services from docker-compose files, nginx proxy targets, and packages; report known facts and flag unknowns explicitly.

Instructions

Detect services from docker-compose, nginx proxy targets and packages. Facts only; unknowns are reported explicitly.

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

Input Schema

NameRequiredDescriptionDefault
pathNoRepository root (default: current directory)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful trait: results are facts only, with unknowns reported explicitly rather than inferred. That uncertainty-handling guarantee is valuable context an agent cannot get from the schema. It does not, however, state whether the tool is strictly read-only, what happens on a missing or invalid path, or what the result set looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the detection targets, with no padding or restatement of the tool name. Nothing could be removed without losing content.

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 one-parameter tool with no output schema, the definition should indicate what comes back (for example a service/package inventory), and it does not. The "facts only / unknowns explicit" clause partially compensates by framing result reliability, but the return shape remains unstated.

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% and the single path parameter is documented in the schema as the repository root with a current-directory default. The description adds no further meaning about the path, which is acceptable at full coverage, 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?

A specific verb ("Detect") plus concrete resource sources: docker-compose services, nginx proxy targets, and packages. An agent immediately knows this extracts architecture facts from a repository. It does not explicitly distinguish itself from arch_diagram or the schema_* siblings, so the sibling differentiation is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement about when to use this versus arch_diagram or the schema inspection tools, and no prerequisites or exclusions. The closest thing to guidance is "Facts only," which describes output character rather than when to invoke the tool.

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