Skip to main content
Glama

Recent Activity

get_recent_activity
Read-onlyIdempotent

Get a chronological feed of recent tenant activity: syncs, large orders, and integration events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
since_hoursNoHow many hours back to look for activity (1-168, default 24).
activity_typesNoOnly include these activity types in the feed (e.g. 'sync', 'large_order', 'integration_event'); omit to include every type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
feedNoMost recent 50 events.
_metaNo
countNoTotal matching events, which may exceed the 50 returned in `feed`.
_messageNo
_truncatedNo
window_hoursNo
_tenant_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the behavioral detail of a 'chronological feed', which is useful, but does not disclose other potential behaviors like rate limits or response size constraints.

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 a single, concise sentence that leads with the action and resource, and it packs the key detail (activity types) efficiently. No filler or redundant information.

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?

Given that an output schema exists and annotations cover safety, the description covers the core purpose. It could mention the default time window (24 hours) explicitly, but that is already in the schema parameter description. Overall, it is sufficient for an agent to decide to call it.

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%, with both parameters having explicit descriptions. The tool description reiterates the activity type examples from the schema but adds no new semantic meaning beyond what the schema already provides.

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 states a clear verb ('Get') and resource ('recent tenant activity') and lists specific activity types (syncs, large orders, integration events). It is distinct from sibling tools by naming these feed categories, though it does not explicitly contrast with any sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like get_anomalies or get_date_range_summary. The description does not indicate selection criteria or when not to use it.

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