Skip to main content
Glama

Orient an agent in an unfamiliar repository

get_artifact
Read-onlyIdempotent

CALL before substantial code work in an unfamiliar repository when the agent needs key files, entry points, architecture hypotheses, a reading order, and verify-before-trusting guidance. Returns the cached CLAUDE.md-style artifact or Cursor rules. Do not call again if the artifact is already in context. Pass exactly one of repo or package.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoPublic GitHub repository as owner/repo or a github.com URL.
formatNomarkdown for CLAUDE.md-style guidance; cursor for .mdc rules.markdown
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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
agentYes
statusYes
schema_versionYes

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive behavior, and the description adds contextual grounding: the returned content is a cached artifact rather than a live repository scan and is 'verify-before-trusting' guidance. This helps set an agent's expectations about staleness and reliability beyond what the annotation flags alone communicate.

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?

Four short sentences with four distinct jobs: when to call, what it returns, when to skip and the parameter contract. The uppercase 'CALL' opening front-loads the most important trigger condition and no sentence is wasted.

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?

With 100% schema parameter coverage, an output schema, and strong annotations, the essential decision information is present. The missing analyze_repo route contrast is the main gap, while the cached/verify guidance and output schema fill most of the remaining behavior.

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?

Parameter description coverage is 100%: the schema fully explains repo, format, and package, including example formats and the versioned-return alternative. The only new semantic in the description is 'exactly one of repo or package', which re-states what the schema's oneOf already enforces.

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 verb and resource: it 'CALLs' to return the cached CLAUDE.md-style artifact or Cursor rules for orienting an agent in an unfamiliar repository. The title reinforces the distinct purpose ('Orient an agent in an unfamiliar repository'), and the description's focus on orientation artifact distinguishes it from version-judgment and risk-analysis siblings, though it does not explicitly separate it from analyze_repo.

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?

When to call is explicit ('CALL before substantial code work in an unfamiliar repository') and the 'do not call again if the artifact is already in context' condition is a clearly stated idempotency guard. The package schema also points to evaluate_dependency_change for version-specific judgments, providing a named alternative. However, the description does not explain when to choose this over the heavily overlapping analyze_repo sibling.

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