Skip to main content
Glama

analyze_repository

Analyze a repository's structure, dependencies, and documentation requirements to prepare for automated documentation deployment.

Instructions

Analyze repository structure, dependencies, and documentation needs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the repository to analyze
depthNostandard
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions analysis but does not disclose if the tool modifies anything, required permissions, or performance implications. The behavioral impact is unclear.

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?

A single sentence that is reasonably concise. However, it could be structured to highlight key aspects more effectively.

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?

The tool has 2 parameters, no output schema, and moderate complexity. The description fails to specify what the analysis produces, how depth levels differ, or any prerequisites. It is incomplete for understanding the tool's full capability.

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 describes path and depth with 50% schema coverage. The description does not add meaning beyond what the schema provides; it does not explain how depth affects analysis or what the path parameter expects. Overall, the description adds little value.

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 clearly states the tool analyzes repositories, listing structure, dependencies, and documentation needs. It differentiates from siblings like analyze_readme and analyze_deployments by being more general, but does not explicitly distinguish itself.

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 guidance on when to use this tool vs alternatives such as analyze_readme or analyze_deployments. The description lacks any context about prerequisites or appropriate scenarios.

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/tosin2013/documcp'

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