Skip to main content
Glama

events

events
Read-only

Event logs with SQL for agents: append up to 5,000 JSON events per call to your own log, then query them with SQL (json_extract on any field), get stats, or purge old data. Private to your wallet. $0.004 per append up to 1,000 events (+$0.003 per extra 1,000); $0.003 per query. Costs $0.016 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logNo
sqlNo
actionNoappend (default), query, stats, purge
beforeNo
eventsNo
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior1/5

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

The description advertises mutating behavior ('append up to 5,000 JSON events', 'purge old data') while annotations declare readOnlyHint=true, a direct contradiction. Against a tool with buy-in write semantics, the readOnly annotation is misleading. The pricing/privacy detail is useful but is outweighed by the contradiction.

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 densely packed sentences that front-load capability before pricing. No filler, though the pricing clause is fairly heavy and the action list is buried mid-sentence.

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?

For a 6-parameter tool with no output schema and unreliable annotations, the description covers capability and cost but omits parameter-level guidance and any return-value behavior. It is serviceable but leaves real gaps for the agent.

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 17%, so the description must carry the load, but it explains only the action values implicitly and the SQL/json_extract usage; params like log, before, and params are left undefined. It adds some color over the schema but does not compensate for the low coverage.

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 specific verb set and resource: append JSON events to your own log, query with SQL, get stats, or purge. That is distinguishable from generic siblings like sql or db, though the bare name 'events' and multi-action scope make it slightly diffuse. Purpose is clear but not sharply bounded.

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?

It indicates the four actions available and implies append is the default, so an agent can infer when to use each action. However, it never says when to prefer this tool over the 'sql', 'db', or 'storage' siblings, and offers no exclusions or prerequisites beyond privacy and pricing.

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