Skip to main content
Glama

Get team context

get-team-context-tool
Read-onlyIdempotent

The team's org map: every repository the team ships to, how alive each one is (merged/open PR activity, top contributors, last merge), how each deploys to production, whether each is ready for a coding agent (a compact readiness flag with failing check keys — call get-repo-readiness for the full checks and recommendations), how repos relate (taught links plus shared-contributor signals), and the team's confirmed working conventions. Everything is derived from live shipping data, so it never goes stale like a hand-maintained repo list in an agent rules file.

Pass repository (the repo you are working in) to get a FOCUSED map: that repository's details, the repositories most relevant to it with the reasons they matter, and the rest as names only — the right call at session start in a multi-repo org, instead of pulling the whole atlas. When the map is wrong or incomplete, teach it with link-repositories. For size/review norms, use assess-change-fit.

Input Schema

NameRequiredDescriptionDefault
repositoryNoThe repository you are working in, as owner/name (from `git remote get-url origin`) or a bare repo name. Binds the session to the owning team AND focuses the map: you get this repo, the repos most relevant to it (with reasons), and the rest as names only.
window_daysNoActivity window in days for PR/contributor signals. Defaults to 90, clamped to 7–180.

Output Schema

NameRequiredDescriptionDefault
teamYesTeam name.
focusNoPresent in focused mode: the repository the map is scoped to.
linksYesTaught repository relationships (from, to, relation, note) — recorded via link-repositories.
conventionsYesConfirmed team/repo working conventions the team has taught its Coderbuds agents. Focused mode returns only team-wide and focus-repo conventions.
window_daysYesActivity window in days.
repositoriesYesActive repositories with activity level, top contributors, production deploy setup, and a compact agent-readiness verdict (ready flag + failing check keys; use get-repo-readiness for detail). Full map: most active first. Focused map: the focus repository first, then the most relevant repositories, each with `relevance.reasons`.
relationshipsYesRepository pairs the same people ship to, with shared-contributor counts and co_changes (how often one author merged into both within 48h — "ships together in practice", which ranks a pair higher). Pairs taught as unrelated are suppressed.
other_repositoriesNoPresent in focused mode: the remaining active repositories, names only.
archived_repositoriesYesDecommissioned repositories, by name — they exist but no work should land there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover read-only/idempotent, but the description adds that all data is derived from live shipping data and therefore self-refreshing — a meaningful behavioral trait. It also discloses the response-shape change caused by passing `repository` (focused map with names-only for the rest). It does not discuss data latency window or volume limits beyond the schema's window_days.

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?

Front-loaded: the first sentence defines the payload before any usage advice. Two tight paragraphs, though the "never goes stale like a hand-maintained repo list in an agent rules file" clause is rhetorical padding that could be cut without loss.

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

Completeness5/5

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

With an output schema present and annotations declaring read-only, the description only needs to cover scope, when to call it, and routing to siblings — all of which it does. Nothing an agent needs to call this correctly at session start is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns above baseline by framing `repository` as binding the session to the owning team and explaining the focused-vs-full output consequence, which is the real decision behind the parameter. `window_days` is left entirely to the schema, so it does not fully cover both parameters.

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 names the resource precisely (the team's org map) and enumerates what it contains: repositories shipped to, activity/contributor signals, deploy path, readiness flag, repo relationships, and confirmed conventions. It separates itself from siblings by naming get-repo-readiness, link-repositories, and assess-change-fit with their distinct purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use scenario ("the right call at session start in a multi-repo org") and names the alternative behavior (pulling the whole atlas). It routes the agent away to link-repositories for corrections and assess-change-fit for size/review norms, and to get-repo-readiness for detail beyond the compact flag.

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