Skip to main content
Glama

Mercoa MCP by usefulapi

Get entity events

mercoa_get_entity_events
Read-only

Get the event/audit log for an entity. GET /entity/{entityId}/events.

Input Schema

NameRequiredDescriptionDefault
limitNoMax events to return (1-100).
endDateNoEnd date filter (ISO 8601).
entityIdYesEntity ID or foreign ID.
startDateNoStart date filter (ISO 8601).
startingAfterNoEvent ID cursor for pagination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safe-read profile is covered. The description adds the useful framing that the result is an immutable event/audit log, but omits pagination behavior, cursor semantics, and result format – the schema documents the cursor but not how it behaves.

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 short sentences, correctly front-loaded with the purpose before the endpoint reference. The 'GET /entity/{entityId}/events' fragment is largely redundant with the tool name and required entityId parameter, so it does not fully earn 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?

No output schema exists, so the description should ideally describe the return shape (list of event records) and pagination model. With 5 parameters, one required, and no output schema, the definition is minimally adequate but leaves the agent to guess what actually comes back.

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% (limit, startDate, endDate, entityId, startingAfter all documented inline), so the schema carries the parameter burden. The description adds nothing beyond the schema, which sets the baseline at 3.

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?

States a specific verb ('Get') and resource ('event/audit log for an entity'), which is clearly distinguishable from mercoa_get_entity (entity data) and mercoa_get_invoice_events (invoice-scoped events). It does not explicitly name those siblings, but the scope is unambiguous.

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?

The description gives no when-to-use guidance, no prerequisites, and no mention of alternatives such as mercoa_get_invoice_events. An agent must infer from the name alone that this is for retrieving an entity's audit trail.

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.