Skip to main content
Glama

cloudtrail_lookup_events

Audit AWS CloudTrail management events with filters for event name, username, resource type, and region. Identify who made changes and from which source IP.

Instructions

Look up AWS CloudTrail management events with optional filters (event name, username, resource type). Useful for auditing who changed what, and from which source IP.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionNoAWS region. Empty queries the configured default region (or all regions if unset).
hours_backNoHow many hours back to search. 0 uses the configured default lookback.
event_nameNoFilter by CloudTrail event name (e.g. 'RunInstances').
usernameNoFilter by the IAM username.
resource_typeNoFilter by resource type (e.g. 'AWS::EC2::Instance').
max_resultsNoMaximum events to return (0 = unlimited, capped at 10000).
Behavior3/5

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

No annotations are present, so the description must convey behavioral traits. It implies a read-only operation ('look up'), but does not detail rate limits, pagination behavior, or what happens when filters are omitted. The schema partially covers input behavior but not output or side effects.

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?

The description is very short (two sentences), front-loads the purpose and filters, and avoids redundancy. Every sentence earns its place.

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?

Given the tool has 6 optional parameters and no output schema, the description is sufficient but not thorough. It does not explain the return format or default behavior beyond what is in the schema. For a simple read tool, it's adequate but could be more complete.

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 coverage is 100%, so the description adds minimal value beyond listing optional filters. It mentions 'event name, username, resource type' but these are already in the schema. No additional semantic context is provided.

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 clearly states 'Look up AWS CloudTrail management events' with specific filters, and mentions the auditing use case. It distinguishes itself among siblings by specifying a unique AWS service not covered by other tools.

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 description provides a use case ('auditing who changed what'), but does not explicitly state when to avoid using it or mention alternative tools. Lacks explicit prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zb-ss/servonaut'

If you have feedback or need assistance with the MCP directory API, please join our Discord server