Skip to main content
Glama

Codebase visualization — Atom

Codebase visualization

codebase_visualization
Read-onlyIdempotent

Submits a codebase-visualization artifact manifest (declared diagram entries, dependency view and module counts, call and flow views, architecture map and declared C4 levels, metrics and history views, honesty and currency record) and returns a deterministic CODEBASE_VISUALIZATION_READY / CODEBASE_VISUALIZATION_NOT_READY / INSUFFICIENT_EVIDENCE verdict across six sections, including computed diagram-entry completeness, dependency-coverage, C4-coverage and hotspot-score checks, with per-check evidence. Validates the declared record; it renders nothing and reads no code.

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

Input Schema

NameRequiredDescriptionDefault
entityNoCodebase the visualization record covers.
historyNoHistory-view evidence.
honestyNoHonesty and currency evidence.
metricsNoMetrics-view evidence.
dependencyNoDependency-view and module-count evidence.
architectureNoArchitecture-map and C4-level evidence.
call_and_flowNoCall and flow view evidence.
diagrams_as_codeNoDiagrams-as-code evidence (declared diagram entries).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful context beyond those annotations: it returns a deterministic verdict across six sections, performs computed completeness and coverage checks, and explicitly does not render anything or read code.

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 purpose and non-goals are front-loaded, and the second sentence efficiently clarifies what the tool does not do. The first sentence is dense with enumerated evidence types, but every clause serves the validation scope rather than adding fluff.

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?

For a validation tool with no output schema, the description sufficiently explains the return verdicts, the six-section structure, computed checks, and per-check evidence. It does not describe every verdict threshold in detail, but the schema descriptions and the stated SERVICE.md reference cover the field-level input semantics.

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%, so the schema already documents the individual manifest fields. The description groups these into evidence categories such as dependency, architecture, call and flow, metrics, and honesty, but adds little format or syntax detail beyond what the schema provides.

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: submits a codebase-visualization artifact manifest and returns a deterministic verdict. It further distinguishes the tool from rendering or code-reading siblings by explicitly saying 'it renders nothing and reads no code.'

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 clearly frames this as a validation and verdict tool rather than a visualization generator, and explicitly excludes rendering and reading code. It does not name alternative tools or explain how to obtain the manifest, but the intended usage context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.