Skip to main content
Glama

Get triage activity/lease stamps for one or all inboxes

get_triage_activity
Read-onlyIdempotent

The triage-lease rollup: lastTriageStartedAt/EndedAt/By/Summary and the current triageLease (if any) for one inbox (pass inboxId) or every connected inbox (omit it). triageLease is null once the lease has expired, and lastLeaseExpiredAt then says when it ran out. Useful for deciding whether a pass is overdue, already in progress elsewhere, or what the last pass did. This is the rollup, not the log: per-action events (archive, trash, spam, undo, etc.) are on the Activity page, not here. Read-only; needs no lease.

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_triage_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
inboxIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds real behavioral detail beyond that: triageLease is null once expired, lastLeaseExpiredAt reports when it ran out, and no lease is required to call it. That is exactly the kind of state semantics annotations cannot express.

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 resource and returned fields, then scope semantics, then usage, then the log exclusion. Dense but every sentence carries information; the enumerated field names are load-bearing rather than filler, though the definition is near its useful length limit.

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?

No output schema exists, so the description must describe return shape and it does, field by field, including the null case and lastLeaseExpiredAt. For a one-parameter read tool with full annotation coverage, nothing an agent needs to call it correctly 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 0%, so the description must carry the single parameter, and it does: pass inboxId for one inbox, omit it for every connected inbox. The optional-vs-omitted behavior and its consequence (scope widens to all connected inboxes) are spelled out, which the schema alone does not convey.

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 resource (the triage-lease rollup) and enumerates exactly what comes back: lastTriageStartedAt/EndedAt/By/Summary plus the current triageLease. It also explicitly separates itself from the per-action Activity log, so an agent can tell it apart from event-level siblings without opening a 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 clear decision context: 'Useful for deciding whether a pass is overdue, already in progress elsewhere, or what the last pass did,' and an explicit exclusion ('This is the rollup, not the log'). It stops short of naming concrete alternative tools for those cases, so it is clear but not fully routing.

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