Skip to main content
Glama
Idemcore

Idemcore

Official

Export an audit bundle

idemcore_export_audit

Export tenant receipts and audit events for a time range to a local file, then verify the event hash chain and signed daily Merkle roots offline.

Instructions

Export the tenant's receipts and audit events for a time range, save them to a local file, and check the event hash chain and signed daily Merkle roots offline.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "idemcore_export_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd (RFC 3339 or YYYY-MM-DD, UTC).
fromYesStart (RFC 3339 or YYYY-MM-DD, UTC).
saveNoWrite the bundle under IDEMCORE_EXPORT_DIR.
include_logsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It usefully discloses that the bundle is written to a local file and that verification is performed offline against the hash chain and daily Merkle roots, but it omits permission/auth requirements, bundle size or rate-limit considerations, and what happens when save is false or the chain check fails.

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 front-loaded sentence that moves from the action to the artifact to the verification step, with no filler. It is dense but every clause contributes information.

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 four-parameter tool with no annotations and no output schema, the description covers the main flow but leaves gaps: it does not explain the shape of the saved bundle, whether verification results are reported back to the caller, or how failures surface. An agent could invoke it correctly but would not know what to expect in return.

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 75%, so the schema already documents from, to, and save with formats and defaults. The description adds the notion of a time range and a local file target, but include_logs is undocumented in both the schema and the description, leaving one parameter opaque.

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 names a specific verb (export) and resources (the tenant's receipts and audit events) plus two side effects: writing a local file and checking the hash chain and signed Merkle roots offline. That distinguishes it from read-only siblings like idemcore_verify_audit and idemcore_get_receipt, though it never names a sibling 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?

Usage is only implied: the mention of offline hash-chain and Merkle-root checks suggests this is for archival or independent verification rather than quick lookups. There is no explicit statement of when to choose this over idemcore_verify_audit or idemcore_verify_receipt, and no prerequisites or exclusions are given.

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