Skip to main content
Glama

summary

Generates deterministic per-repo metrics—file, symbol, import, and call counts plus indexed size—so you can compare codebase state across runs on the same commit.

Instructions

Deterministic per-repo summary: file count, symbol count, import count, call count, indexed size. Stable across runs on the same commit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo_path": "<repo_path>"
    },
    "name": "summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose a genuine behavioral property that no structured field does: it is deterministic and stable across runs on the same commit, which tells the agent it can cache or compare results. However, it does not state read-only semantics, error behavior on an invalid repo_path, or whether the repo must be indexed first.

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?

Two sentences, with the metric list front-loaded and the determinism guarantee second. Nothing is wasted, though the metric enumeration slightly duplicates what an output schema already conveys.

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?

The tool is simple, has one parameter, and has an output schema, so return values need no explanation. What is missing is guidance on when to prefer it over sibling summary tools such as health_report, and any note on indexing or authentication preconditions.

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?

There is a single parameter, and the schema description coverage is 0%, so the description should carry the load. Saying 'per-repo' hints that repo_path identifies which repository to summarize, but it adds no format, path, or resolution details.

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 names a specific resource (per-repo) and enumerates exactly what is summarized: file count, symbol count, import count, call count, and indexed size. That sets it apart from sibling tools like health_report or context, though it never explicitly contrasts itself with them.

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 context is only implied: you reach for it when you want a quick per-repo overview. There are no explicit when/when-not statements, no mention of alternatives such as health_report, and no stated prerequisites such as a prior indexing step.

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