Skip to main content
Glama

get_architecture

Retrieve a high-level overview of a project’s architecture—modules, hotspots, and entry points—to map code structure and focus analysis.

Instructions

Get a high-level overview of the project architecture: modules, hotspots, entry points

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

Input Schema

NameRequiredDescriptionDefault
projectNoProject namedefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only operation and hints at the return categories, but says nothing about whether the project must be indexed first, whether an unknown project errors or falls back to the default, cost/latency, or what 'hotspots' actually means.

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 front-loaded sentence with the resource first and the return contents after the colon; nothing is padded. It could be marginally tighter but no sentence is wasted.

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 one-parameter, no-annotation read tool with no output schema, the description states the operation and enumerates the returned sections, which is enough for an agent to call it correctly.

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 coverage is 100% and the single 'project' parameter is fully documented in the schema, so the baseline is 3. The description adds no extra meaning about the project identifier, its default, or what happens when it is omitted.

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 gives a specific verb ('Get') plus resource ('project architecture') and enumerates the payload contents (modules, hotspots, entry points), so an agent knows exactly what comes back. It does not, however, differentiate itself from the closely named sibling get_project_structure, leaving ambiguity about which overview to pick.

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?

There is no explicit when-to-use statement, no prerequisites, and no named alternative. The phrase 'high-level overview' weakly implies an orientation-first use case, but with a sibling called get_project_structure the absence of routing guidance is a real gap.

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