Skip to main content
Glama

What happened

what_happened
Read-onlyIdempotent

The record of what has happened in a project recently — decisions, runs, approvals and changes, as one timeline. Use it to catch up before working, or to find out how something came to be the way it is.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "what_happened"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobNoNarrow to one job by its key, e.g. BREW-12. Omit for the whole project.
projectYesThe project's key, e.g. BREW.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / job / description
      Previous value: -"Narrow to one job by its key, e.g. FLAIR-12. Omit for the whole project."New value: +"Narrow to one job by its key, e.g. BREW-12. Omit for the whole project."
    • changedInput schema / properties / project / description
      Previous value: -"The project's key, e.g. FLAIR."New value: +"The project's key, e.g. BREW."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description usefully discloses what the response aggregates and that it is limited to 'recently', but leaves the time window, volume and whether results are paged unspecified.

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?

Two tight sentences: the first front-loads what the tool returns, the second gives the use cases. Nothing is padded, though the em-dash list is slightly more decorative than necessary.

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 two-parameter read-only tool with rich annotations and no output schema, the description covers purpose, contents and usage. Only the recency window and result volume remain unstated, which is a minor gap.

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?

Both parameters carry full descriptions in the schema, including an example key and the meaning of omitting 'job'. The description adds no meaning 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?

States a specific resource (a project's recent record) and enumerates its contents — decisions, runs, approvals, changes — as one timeline. It separates itself from single-item tools like get_job implicitly through the word 'timeline', though it never names a sibling to contrast with.

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 two concrete when-to-use contexts: catching up before working, and tracing how something came to be. It stops short of stating when NOT to use it or which sibling to pick for a narrower view (e.g. a single job's history).

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.