Skip to main content
Glama

find_entrypoints

Read-onlyIdempotent

Locate code entrypoints for a repository, optionally scoped to a specific area such as pypto or codegen_orch, to quickly identify where execution begins.

Instructions

Find code entrypoints for a repo and optional area (e.g. pypto, codegen_orch).

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": "<repo>"
    },
    "name": "find_entrypoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoOptional sub-area key within the repo, e.g. "codegen_orch". Leave empty to list all areas for the repo.
repoYesRepository name from list_repositories(), e.g. "pypto", "simpler"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds no behavior beyond that -- nothing about what an entrypoint record contains, how results are ordered or limited, or whether the repo is validated 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?

A single front-loaded sentence with zero padding, which is appropriately sized. It trades some clarity for brevity, since the key noun 'entrypoints' is left unexplained and the parenthetical examples are ambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and rich in structured support -- full schema coverage, rich annotations, and an output schema that presumably defines the returned entrypoint shape. Given that scaffolding, a one-line description is close to adequate, but it still leaves the meaning of 'entrypoint' and the relationship between repo and area unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline would be 3, but the description's example 'area (e.g. pypto, codegen_orch)' conflicts with the schema, which lists 'pypto' as a repo example and only 'codegen_orch' as an area. That mismatch can actively mislead an agent into passing a repository name as the area, so the description detracts rather than adds meaning.

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 states a specific verb and resource ('Find code entrypoints') scoped to a repo plus an optional area, which is understandable at a glance. It does not, however, differentiate itself from nearby lookup tools such as find_generated_artifacts or search_abstractions, and 'entrypoint' is never defined.

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 is implied by the parameters: supply a repo, optionally narrow by area. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool, so the agent must infer the retrieval scenario from the parameter shape alone.

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