Skip to main content
Glama

Delimit Repo Analyze

delimit_repo_analyze
Read-onlyIdempotent

Perform a deep structural audit of a local or remote repository to assess code organization, language mix, and quality signals. Accepts a path, owner/repo shorthand, or GitHub URL.

Instructions

Analyze repository structure and quality (experimental).

When to use: for a deep audit of a repo (local or remote) — code structure, language mix, quality signals. When NOT to use: for a fast health pass (use delimit_repo_diagnose) or config-only audit (delimit_repo_config_audit).

Sibling contrast: delimit_repo_diagnose is a quick smoke test; this is the deeper structural audit.

Side effects: read-only on the resolved local path. Accepts local path, "owner/repo" shorthand, or GitHub URL — remote inputs are shallow-cloned into a tempdir for the call. Calls backends.repo_bridge.analyze through _run_repo_tool_with_remote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoRepository path, "owner/repo", or GitHub URL. Default "." (cwd)..

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv4.7.9
    • changedInput schema / properties / target / description
      Previous value: -"Repository path."New value: +"Repository path, \"owner/repo\", or GitHub URL. Default \".\" (cwd)."
  2. Addedv4.5.5

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds meaningful behavioral context: read-only on the resolved local path, remote inputs are shallow-cloned into a tempdir, and the underlying call path is disclosed. This goes well beyond the annotations.

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?

The description is well-structured with clear sections and front-loaded purpose. Every sentence contributes useful guidance, though the final implementation-detail sentence about backends.repo_bridge.analyze is slightly lower-value for an agent deciding whether to call the tool.

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

Completeness5/5

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

For a tool with one parameter, rich annotations, and an output schema, the description covers intent, usage boundaries, side effects, accepted input forms, and remote behavior. Nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema description coverage is 100%, so the target parameter is already well documented. The description adds value by explaining the remote-clone behavior for non-local targets and reinforcing the accepted input formats. This is more than the baseline, though the schema already carries most of the semantic weight.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: 'Analyze repository structure and quality,' and clarifies it is a 'deep audit' covering code structure, language mix, and quality signals. It also distinguishes itself from the sibling delimit_repo_diagnose, making its purpose unmistakable.

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

Usage Guidelines5/5

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

Provides explicit 'When to use' and 'When NOT to use' guidance, directly naming alternatives delimit_repo_diagnose and delimit_repo_config_audit. The sibling contrast further clarifies when this tool is the right choice versus a quick smoke test.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/delimit-ai/delimit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server