Skip to main content
Glama

repo_context

Read-only

Returns an overview of a product repository: git provider, URL, default branch and its sha (defaultBranchSha), linked projects, agent access level, the start of the README (up to 16384 bytes) and the technical passport (stack, architecture, conventions; stale - may be outdated). Useful for an unfamiliar repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repositoryIDYesRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description carries the rest of the burden and does so credibly: it discloses the README is truncated to 16384 bytes and that the technical passport is stale and may be outdated. That freshness/truncation context is exactly what an agent needs to interpret results, though nothing is said about behavior for missing repositories or access-denied cases.

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?

One dense but front-loaded sentence with no filler; the payload contents come first and the use-case cue last. Slightly list-heavy, but every enumerated field earns its place in telling the agent what will come back.

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?

There is no output schema, so the description must describe the return payload and it does so comprehensively, including the staleness caveat. It falls short only on error/edge-case behavior, which is a minor gap for a read-only overview tool.

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% with a single parameter, so the schema already documents repositoryID fully. The description adds no format, constraint, or scoping detail for the parameter, making 3 the correct baseline.

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?

States a specific verb ('Returns an overview') plus the exact contents of that overview: provider, URL, default branch and sha, linked projects, agent access level, README head, technical passport. This clearly separates it from granular siblings like repo_file, repo_tree, and branch_list, which return raw repository contents rather than a summary.

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?

The closing clause 'Useful for an unfamiliar repository' implies when to reach for it, but no alternative is named (e.g. repo_file/repo_tree for targeted lookups) and there are no exclusions or prerequisites. Usage is hinted rather than guided.

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.

Resources