Skip to main content
Glama

ateam_github_diff

PRE-FLIGHT BEFORE PROMOTE. Compares dev (head) vs main (base) by default — shows exactly which commits and files are about to ship if you call ateam_github_promote() next.

Use this when you want to: • Review changes before promoting to prod • See if dev is ahead of main at all (returns ahead_by: 0 if nothing to promote) • Diagnose a failed promote — check behind_by and status. status: 'diverged' (behind_by > 0) means main holds commits dev never received, which is what makes ateam_github_promote return 409 Merge conflict. ALWAYS call this after a promote failure, before reporting anything to the user. • Inspect arbitrary branch/tag/commit comparisons (override base/head)

Note: files[] lists what DIFFERS, not what conflicts. For solution.json and skills/*/skill.json the difference is often deploy-generated data (regenerated connector tools, timestamps) rather than authored change — see ateam_github_read's _ateam_representation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoBase branch/tag/sha (the target — what you're comparing TO). Default: 'main'.main
headNoHead branch/tag/sha (the source — what you're comparing FROM). Default: 'dev'.dev
solution_idYesThe solution ID

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and it succeeds richly. It discloses return values like ahead_by, behind_by, and status; explains the diverged state and its relation to a 409 conflict; clarifies that files[] lists differences rather than conflicts; and warns about deploy-generated data in solution.json and skills files.

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?

The description is longer than average but every sentence earns its place: the first line is a bold, scannable summary followed by structured bullets and a brief important note about deploy-generated data. It is front-loaded with the core comparison behavior and the promote tie-in, so an agent gets the key message immediately.

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?

For a read-only diff tool with no output schema and no annotations, this description is nearly complete. It covers defaults, when to use, how to interpret return values, failure diagnosis, and known data quirks. The only minor omissions are general edge cases around invalid refs, but those are not critical given how much is already disclosed.

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 adds meaningful conceptual value beyond the schema by explaining that base/head can be overridden with arbitrary branches, tags, or commits, and by framing base as the target and head as the source in the promote workflow. It doesn't add much per-parameter syntax detail, but the added framing is useful.

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 uses a specific verb ('Compares') with a clear resource and scope: dev vs main by default, showing exactly which commits and files ship with a promote. It explicitly orients the agent as a pre-flight check for ateam_github_promote, which clearly distinguishes it from the many sibling GitHub tools.

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?

The description provides explicit when-to-use bullets: before promoting, to check if dev is ahead, to diagnose a failed promote, and for arbitrary branch comparisons. It even instructs the agent to ALWAYS call this after a promote failure before reporting to the user, which is strong, actionable usage guidance.

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

A3.9/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, with detailed descriptions that differentiate similar functions like chain polling vs. chain inspection. However, there is slight overlap between ateam_design_advisor, ateam_get_spec, and ateam_spec_search, which all serve design guidance, potentially causing confusion if descriptions are not read carefully.

Naming Consistency4/5

The naming mostly follows a consistent verb_noun pattern with the 'ateam_' prefix (e.g., ateam_get_solution, ateam_create_connector, ateam_test_skill). Minor deviations include ateam_patch (missing object) and ateam_redeploy (verb only), but overall the pattern is predictable and clear.

Tool Count3/5

With 47 tools, the count is high and exceeds the typical 15-tool threshold for a well-scoped set. However, the tools cover a broad and complex platform (auth, deployment, testing, GitHub integration, scaffolding), and each tool appears to have a distinct role, making the count borderline acceptable rather than excessive.

Completeness4/5

The tool set covers the full lifecycle of building, deploying, testing, and managing A-Team solutions, including design, GitHub integration, and verification. Minor gaps exist, such as no explicit tool for deleting individual files (though patching can overwrite) and no standalone skill listing, but these are not critical dead ends for an agent.