Skip to main content
Glama

Plan a task against repository evidence and a checked SHA

plan_repo_task
Read-only

CALL before editing an unfamiliar public repository. Returns a bounded reading order, relevant files, dependency consumers, test/verification obligations, analyzed-vs-checked SHA relation, evidence provenance, and a short-lived verification contract. Task text is used only for bounded local matching and is never persisted raw.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoPublic GitHub repository as owner/repo or a github.com URL.
taskYes
intentNo
packageNonpm package name, for example lodash or npm:@scope/pkg. To judge a specific VERSION rather than the package as a whole, use evaluate_dependency_change instead.
max_filesNo
path_hintsNoOptional repository-relative files or directories to prioritize.
checked_shaNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
agentYes
statusYes
schema_versionYes

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false), the description discloses meaningful behavioral details: task text 'is used only for bounded local matching and is never persisted raw,' and the verification contract is 'short-lived.' This adds real context about persistence and scope that annotations do not carry. It slightly under-specifies side effects such as rate limits or external network behavior, giving a 4 rather than a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly packaged sentences: the first front-loads the call-or-not decision, the second enumerates the return contract, and the third covers the privacy behavior. There is no filler, repetition, or restating of the title.

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?

Given a nested input schema, an output schema, and safety annotations, the description covers the core needs: when to invoke, what will be returned, the ephemeral verification contract, and the non-persistence guarantee. It stops short of describing the plan's downstream consumer workflow or caveats on open-world repo data, but nothing critical is missing for an unplanned call.

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 43%, so the description must partially compensate. It adds semantics for the task param ('used only for bounded local matching and never persisted'), and its mention of the 'analyzed-vs-checked SHA relation' clarifies the checked_sha param. However, it does not explain the repo-vs-package disambiguation or max_files/path_hints semantics beyond what the schema already says, leaving the description to add only modest value over the structured schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific imperative — 'CALL before editing an unfamiliar public repository' — and then enumerates concrete deliverables (bounded reading order, relevant files, dependency consumers, test/verification obligations, checked-SHA relation). This names both verb and resource precisely and differentiates it from siblings like evaluate_dependency_change and check_dependency, which focus on versions or risk rather than up-front planning.

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?

The description gives an explicit when-to-use condition ('before editing an unfamiliar public repository'), and the package parameter schema adds a clear exclusion ('to judge a specific VERSION rather than the package as a whole, use evaluate_dependency_change instead'). It does not enumerate when not to use it relative to the other siblings (analyze_repo, check_change_risk), but the primary trigger is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation3/5

The set separates into repo-orientation, dependency-checking, and change-risk workflows, but there is real overlap: analyze_repo/get_artifact/plan_repo_task all provide orientation and reading order, and check_dependency vs. evaluate_dependency_change both fire before adding/upgrading a dependency. The descriptions help clarify intent, yet an agent could still struggle to pick the right one in unfamiliar scenarios.

Naming Consistency5/5

Every tool follows a consistent verb_noun snake_case pattern: analyze_repo, check_dependency, compare_repos, evaluate_dependency_change, get_artifact, plan_repo_task, verify_dependency_change. The verbs are descriptive and the pattern makes the lifecycle stages predictable and easy to navigate.

Tool Count5/5

Eight tools is well within the ideal range for a server focused on repository and dependency due diligence. Each tool addresses a distinct phase of the workflow—orientation, planning, risk scoring, comparison, evaluation, and verification—without bloating the surface.

Completeness4/5

The server covers the core lifecycle well: understanding a repo, planning work, assessing change risk, evaluating dependencies, comparing options, and verifying updates. Minor gaps exist, such as no tool for auditing an entire dependency tree or comparing more than two candidates, but these are workable limitations rather than fatal omissions.

Resources