Skip to main content
Glama

Likely entry points

snapshot_entrypoints
Read-onlyIdempotent

Identify conventional repository entry points and manifests with importer counts so agents can start analysis where a maintainer would. Read-only.

Instructions

The files a reader should start from: conventional entry points (index, main, app, server, cli) and manifests, with their importer counts. The same heuristic the token-budget planner uses, exposed so an agent can start where a maintainer would. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
rootNoRepository root. Defaults to the directory this server was started in.
outDirNoSnapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir.

Output Schema

NameRequiredDescriptionDefault
entriesNo

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint and openWorldHint, and the trailing 'Read-only.' merely restates them. What the description does add is meaningful behavioral context: that this is the same heuristic the token-budget planner uses and that results carry importer counts, telling an agent the data is heuristic-ranked rather than exhaustive.

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?

Three sentences, front-loaded with the concrete payload and family of entry-point names. The closing 'Read-only.' is redundant with the annotations and slightly dilutes the otherwise tight structure.

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?

An output schema exists, annotations cover the safety profile, and both optional parameters are fully documented in the schema, so the description only needs to establish purpose and heuristic nature, which it does. Nothing required to invoke it correctly is missing.

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% and both parameters (root, outDir) carry their own defaults and the constraint that outDir must resolve inside the served repository. The description adds nothing about parameters, so the baseline 3 applies.

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 concrete output: conventional entry-point files (index, main, app, server, cli) plus manifests, annotated with importer counts. That is specific enough that an agent knows exactly what it receives, though it never explicitly distinguishes itself from siblings like snapshot_routes or snapshot_dependents, leaving the agent to infer 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?

'Exposed so an agent can start where a maintainer would' implies the use case (orienting at the start of repository exploration) and hints at a budget-planner relationship, but there is no explicit when-to-use, when-not-to-use, or named alternative to call instead.

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