Skip to main content
Glama

Project map

map
Read-onlyIdempotent

Get an overview of an unfamiliar repository: list files, languages, modules and quality, or show architecture layers, dependencies and entry points. Run it first before deeper code search.

Instructions

Get an overview of the project: "give me an overview", "how is this structured", "where do I start". 'summary' lists files, languages, top modules and quality. 'architecture' gives layers, dependencies, entry points and hub symbols. 'full' gives both. Use it first in an unfamiliar repository.

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

Input Schema

NameRequiredDescriptionDefault
detailNo'summary', 'architecture' or 'full' (both)summary

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.6

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds value by characterizing the tool as an orientation step and describing what each detail level surfaces (layers, dependencies, entry points, hub symbols), which annotations cannot express. No mention of cost or size of output, but an output schema exists to cover returns.

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?

Front-loaded with the core purpose, then mode breakdown, then usage guidance — a sensible order. The quoted user utterances are useful for intent matching but the phrase "'full' gives both" mildly repeats the schema's own '(both)' annotation.

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?

One optional parameter, fully documented schema, an output schema for return values, and rich annotations — the description covers everything left: purpose, mode meaning, and sequencing advice. Nothing an agent needs to call this correctly 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 coverage is 100% and the enum values are already listed, so the baseline would be 3. The description goes beyond the schema by explaining the substance of each mode — files/languages/modules/quality for 'summary', layers/dependencies/entry points/hub symbols for 'architecture' — which lets an agent choose a mode without guessing.

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 ('Get an overview of the project') and breaks the tool into three named modes, so an agent can tell it apart from search/find_symbol style tools. It never names a sibling explicitly, so differentiation is implied through the 'use it first' framing rather than stated.

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?

Gives clear activation context: 'Use it first in an unfamiliar repository', backed by example user phrasings ('where do I start', 'how is this structured') that map intent to tool. It stops short of saying when NOT to use it or which sibling to pick instead once the repo is familiar.

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

Deploy Server

Other Tools