Skip to main content
Glama

ai_activity_log

Read-only

What AI connections did in this workspace, newest first (administrators): each tool call and record read, with the key, its owner, the tool, whether it worked (and the error), how long it took, and a summary of its arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNo
limitNoMax 200, default 50
sinceNoISO time (default: 7 days ago)
untilNoISO time
key_idNo
statusNo
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds ordering ('newest first'), the admin restriction, and an enumeration of what each entry contains (key, owner, tool, success/failure with error, duration, argument summary). It does not discuss pagination or default time windows, which are left to the schema.

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?

A single dense sentence that front-loads the resource and scope before enumerating returned fields. Nothing is wasted, though the long middle clause listing seven fields is harder to parse than a short bulleted form would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description does a good job compensating by enumerating the returned fields, so an agent knows what to expect. The gap is on the input side: with seven mostly undocumented filter parameters (tool, key_id, status, user_id, since/until), the definition leaves the agent guessing how to narrow an admin audit query.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 43% and the description mentions no filter parameters at all - it never explains that tool, key_id, status, user_id, since or until narrow the log, nor what limit does. The 'tool' mention in the description refers to the returned field, not the filter, so the description does not compensate for the coverage gap.

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 concrete resource and scope: an audit feed of what AI connections did in this workspace, newest first, restricted to administrators. It is clearly distinct from list_ai_connections (which enumerates connections rather than their actions), though it never names a sibling to route the agent explicitly.

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

Usage Guidelines3/5

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

The parenthetical '(administrators)' tells the agent the audience/permission requirement, which is useful scoping context. However, it gives no when-to-use versus alternatives such as ai_usage_summary, activity_summary, or workspace_activity, which sit in the same audit/usage space.

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.