Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

monorepo_analyze

Read-onlyIdempotent

Analyze package and dependency relationships across npm, yarn, pnpm, Cargo, Lerna, Nx, and Turborepo workspaces to surface internal dependencies and workspace issues.

Instructions

Analyze monorepo workspace relationships. Supports npm/yarn/pnpm workspaces, Cargo workspaces, Lerna, Nx, and Turborepo. Shows packages, internal dependencies, and issues.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
typeYes
summaryYes
packagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context by naming the six workspace ecosystems it detects and the categories of output, but says nothing about failure modes (no workspace manifest found), scale limits, or whether workspace-external deps are included.

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?

Three short sentences, front-loaded with the core action, then supported ecosystems, then output content. No filler, no restatement of the tool title.

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?

With no parameters, an output schema present, and annotations covering safety, the description carries little burden and mostly meets it by naming ecosystems and output categories. The remaining gap is routing guidance against sibling analysis tools.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The description correctly avoids inventing arguments and instead spends its words on scope.

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 — 'Analyze monorepo workspace relationships' — and enumerates what it surfaces (packages, internal dependencies, issues). An agent can tell this is workspace-topology analysis rather than generic file or dependency scanning, though it never names siblings like dependency_graph or architecture_check to sharpen the boundary.

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

Usage Guidelines3/5

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

Usage is only implied through the list of supported workspace managers (npm/yarn/pnpm, Cargo, Lerna, Nx, Turborepo), which tells an agent when the tool applies. There is no explicit guidance on when to prefer it over siblings such as dependency_graph or architecture_check, and no stated prerequisites like running from the repo root.

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