Skip to main content
Glama

Get AI adoption

get-ai-adoption-tool
Read-onlyIdempotent

How much of this team's shipped work is AI-assisted, and what that work did once it shipped. Returns adoption rate (share of active contributors using AI), contribution intensity (share of lines changed), the AI-assisted PR rate, which AI tools were detected, detection confidence, and a delivery outcome split comparing AI-assisted merged PRs against the rest on lead time and size. Use it to answer "is AI actually in our SDLC yet" and "is it paying off" with the same call. Adoption alone is a pilot metric — the outcome split is what turns it into a KPI, and the result says plainly when the samples are too small to compare or when detection has not covered the period. Bot and dependabot PRs are excluded from the outcome comparison. Where a coding agent reported a change (first-party, via report-ai-usage-tool), its report decides how that PR is counted. The attribution block lists those reports and grades what Coderbuds inferred from the same diffs against them — the error rate every unreported PR carries.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get-ai-adoption-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoReporting period. Defaults to rolling_30d.rolling_30d
repositoryNoOptional "owner/name" repository slug used to resolve which of your teams this call is about. It does not filter the metrics — they always cover the whole team.

Output Schema

NameRequiredDescriptionDefault
teamYesTeam name.
toolsYesDetected AI tools with counts and shares.
periodYesHuman-readable period label.
caveatsYesWhat these numbers do and do not prove.
adoptionYesShare of active contributors who shipped AI-assisted PRs.
headlineYesOne-line read of adoption, intensity, and the outcome split together.
outcomesYesAI-assisted versus other merged PRs on lead time and size, with a comparable flag.
detectionYesDetection threshold and how much of the period has actually been analysed.
intensityYesShare of lines changed that came from AI-assisted PRs.
confidenceYesDetection confidence distribution across AI-assisted PRs.
attributionYesWhat coding agents reported about their own usage, and how often the inferred detector agreed with them.
assisted_pull_requestsYesShare of PRs that were AI-assisted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnly and idempotent; the description adds substantial behavior beyond that — bot and dependabot PRs excluded from the comparison, small-sample and detection-coverage caveats surfaced in the result, and the precedence rule that a first-party report from report-ai-usage-tool overrides inference for that PR. It also explains what the attribution block grades, which is exactly the kind of provenance detail an agent cannot get from structured fields.

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?

It is front-loaded with the core question and the returned metrics before the methodological caveats, which is the right ordering. A few clauses are rhetorical rather than informational ("Adoption alone is a pilot metric — the outcome split is what turns it into a KPI"), but they still carry meaning for interpretation.

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 analytics tool with two fully documented optional parameters and an output schema, the description covers everything an agent needs: what is measured, what is excluded, how ambiguity is resolved, and how the result signals unreliable samples. Nothing required for correct invocation is missing.

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 coverage is 100%, so the enum values and the repository-slug semantics are already documented in the schema, including that repository identifies the team rather than filtering metrics. The description adds no period syntax or repository nuance beyond that, so the baseline 3 applies.

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 concrete metrics — adoption rate, contribution intensity, AI-assisted PR rate, detected tools, detection confidence, and an outcome split on lead time and size — so the agent knows exactly what this returns. It never names a sibling such as get-mcp-adoption-tool or get-agent-activity-tool, so distinguishing this from adjacent adoption/activity tools is left to inference.

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?

"Use it to answer 'is AI actually in our SDLC yet' and 'is it paying off' with the same call" gives clear context for when to reach for this tool, and the note that the outcome split turns a pilot metric into a KPI further scopes it. There are no explicit exclusions or named alternatives, so the agent gets context but not routing rules.

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