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; reads at a sha from the responses are served from the cache.

Input Schema

NameRequiredDescriptionDefault
repositoryIDYesRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  8. Added
  9. Removed
  10. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real behavioral context beyond them: README is truncated to 16384 bytes, the technical passport is explicitly flagged as stale/possibly outdated, and reads at a sha are served from cache. It does not cover failure behavior (e.g. invalid or inaccessible repositoryID), which keeps it from 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.

Conciseness4/5

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

One sentence with a colon-delimited payload list, front-loaded with the core purpose before the field enumeration. Dense but every clause carries information; it could have been split for readability but nothing 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?

For a single-parameter read tool with no output schema, the description substitutes well for one by enumerating the returned fields, and it flags truncation, staleness and caching. Missing only error/edge-case behavior and whether any permissions are required to read the repository.

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?

The schema has a single parameter at 100% description coverage ('Repository ID.'), so the schema already carries the semantics and the baseline is 3. The description adds nothing about the parameter itself (format is only implied by the uuid type in schema), so no credit above baseline.

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 ('Returns an overview of a product repository') and then enumerates exactly what that overview contains: git provider, URL, default branch and sha, linked projects, access level, README head, technical passport. That enumeration effectively separates it from sibling read tools such as repo_file, repo_tree or repo_search, but no sibling is named explicitly, so it stops short of a 5.

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?

'Useful for an unfamiliar repository' gives one clear usage context, which is more than nothing, but there is no explicit when-not guidance and no alternative tool is named (e.g. repo_tree or repo_file for targeted reads). Usage is implied rather than routed.

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