Skip to main content
Glama

Get event block

get-event-block
Read-onlyIdempotent

Fetch a single Event Block envelope by id.

WHEN TO USE:

  • To inspect an existing business event (invoice, contract, bank transaction, …)

  • To check an event's current status and audit chain

  • Before updating or voiding an event

PARAMETERS:

  • id (required): The event id (evt_ prefixed ULID)

RETURNS: An EventBlockEnvelope with:

  • event_type, event_category, status

  • REA primitives: agent_id, resource_type

  • Occurrence: occurred_at, effective_at, and due_date on an invoice or bill

  • Provenance: source, external_id

  • Economic value: amount, currency

  • metadata (event-type-specific payload)

  • dimension_ids, correction chain (replaced_by_event_id, replaces_event_id)

RELATED TOOLS:

  • list-event-blocks — browse events with filters

  • create-event-block — record a new business event

  • update-event-block — transition status or correct fields

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get-event-block"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEvent Block id (evt_ prefixed)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description's added value is disclosing the access path to the audit/correction chain (replaced_by_event_id, replaces_event_id) and provenance fields. It does not say what happens when the id is unknown or invalid, or whether any permission is required, which keeps it below a 5.

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 headed sections (WHEN TO USE / PARAMETERS / RETURNS / RELATED TOOLS) make it easy to scan and the purpose statement is front-loaded. The RETURNS list is long relative to a one-parameter read, but since there is no output schema it earns most of its space; the bullets could still be trimmed.

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

Completeness5/5

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

For a simple single-parameter read with no output schema, the definition covers purpose, call conditions, the parameter format, the returned envelope's contents, and the neighboring CRUD tools. An agent has everything needed to select and invoke it correctly; only error handling is unaddressed, which is minor here.

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?

With a single required parameter and 100% schema description coverage, the schema already carries the semantics. The description restates the id as 'evt_ prefixed ULID', which adds a small amount of format detail (ULID) beyond the schema's 'evt_ prefixed', but nothing about error or lookup behavior. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first line states a specific verb and resource with scope: 'Fetch a single Event Block envelope by id.' The singular 'single ... by id' explicitly contrasts with the sibling list-event-blocks, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines4/5

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

The WHEN TO USE block gives three concrete situations (inspect an existing event, check status/audit chain, before updating or voiding), which is clear positive guidance. The RELATED TOOLS block names list/create/update-event-block with their roles, though it stops short of explicit 'use X instead when Y' branching rules and says nothing about 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.