Skip to main content
Glama

Get person activity

get-person-activity-tool
Read-onlyIdempotent

What one person on the team has actually been doing, over a recent window (default 8 weeks). Answers "is Dave still shipping?" or "what has Sam been working on?" with three counts read together rather than one in isolation: pull requests opened and merged, reviews given to other people, and production deploys triggered — plus a week-by-week rollup, the busiest days, and the longest quiet run.

Lead with the headline. A pull request count on its own supports the wrong conclusion: someone who opened 5 pull requests and gave 70 reviews is carrying the team's review load, not coasting. The headline says which of those it is.

Identify the person by name or provider login ("dave", "Dave Smith", "@dsmith"). When the reference is ambiguous or unknown the tool returns the team's member names in candidates instead of guessing — ask which one rather than reporting activity for the wrong person.

not_captured lists what this data cannot see (commits, review comment volume, ticket assignment, anything outside git). Repeat those limits when the answer is "this person looks quiet" — never present an absence of pull requests as an absence of work.

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to summarize. Defaults to 56 (8 weeks), clamped to 7–84. The 84-day ceiling is where review history stops being complete.
personYesWho to look up, by name or provider login — "dave", "Dave Smith" or "@dsmith". Ambiguous references return candidates rather than a guess.
repositoryNoOptional "owner/name" slug (from `git remote get-url origin`) of the repository you are working in — binds the session to the owning team when you belong to several.

Output Schema

NameRequiredDescriptionDefault
daysYesWindow length in days.
personYesResolved person name.
totalsYespull_requests_opened, pull_requests_merged, reviews_given, deploys, active_days.
weeklyYesPer-week rollup: week_starting, pull_requests_opened, reviews_given, deploys.
end_dateYesLast day of the window (YYYY-MM-DD, UTC).
headlineYesThe sentence to lead with — the three counts and what they mean read together.
start_dateYesFirst day of the window (YYYY-MM-DD, UTC).
busiest_daysYesUp to five highest-activity days with their per-row counts.
not_capturedYesWhat this data cannot see. Repeat these limits when reporting that someone looks quiet.
identities_collapsedYesHow many linked provider identities were merged into this person.
longest_quiet_run_daysYesLongest unbroken run of days with no recorded activity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover read-only and idempotent; the description goes well beyond by disclosing the ambiguity contract (returns `candidates` instead of guessing, and the agent should ask which person), the `not_captured` blind-spot list, and an instruction to repeat those limits when reporting someone as quiet. That is exactly the operational context an agent needs to avoid a wrong answer.

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 with the purpose and the question it answers, then layered with interpretation and caveats; each paragraph carries distinct value. It is on the long side and repeats the ambiguity handling already stated in the `person` schema, which keeps it from a 5.

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?

An output schema exists, so return-shape explanation is not required, yet the description usefully tells the agent which field to lead with (`headline`) and what `candidates` and `not_captured` mean in practice. Combined with annotations, there is nothing an agent needs in order to call and correctly present this tool that 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 description coverage is 100%, so the schema already explains `days` (default 56, clamped 7–84), `person` formats and the optional `repository` slug. The description restates the name/login formats and the ambiguity-to-candidates behavior, which duplicates the schema rather than extending it. Baseline 3 applies.

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 and resource — what one person has been doing in a recent window — and enumerates exactly what is returned: PRs opened/merged, reviews given, deploys triggered, plus weekly rollup, busiest days and longest quiet run. The line 'three counts read together rather than one in isolation' distinguishes it from the single-metric siblings like get-created-pull-requests-tool and get-deployments-by-person-tool without needing to open either schema.

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?

Gives concrete triggering questions ('is Dave still shipping?', 'what has Sam been working on?') and explicit interpretation guidance — lead with `headline`, don't read a PR count alone. It stops short of naming sibling tools as alternatives, so the routing against get-agent-activity-tool or get-my-insights-tool is implied rather than stated.

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