Skip to main content
Glama
Canton MCP Server

Canton MCP Server

by JohnLilic

canton_search_transactions

Search Canton ledger transactions by party, template ID, or time range to retrieve transaction IDs, offsets, effective times, and events.

Instructions

Search Canton ledger transactions by party, template ID, or time range. Returns transaction ID, offset, effective time, and events.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "canton_search_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 50)
partyNoFilter by party ID or display name
end_timeNoISO 8601 end time filter
start_timeNoISO 8601 start time filter
template_idNoFilter by Daml template ID (e.g. 'Iou:Iou')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden; it does disclose the returned fields (transaction ID, offset, effective time, events), which is meaningful. However, it says nothing about read-only semantics, whether all parties are visible or only those the caller can see, or how paging behaves beyond the schema's limit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the search scope and filter axes front-loaded before the return-value note.

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

Completeness4/5

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

For a five-parameter, all-optional search tool with no output schema, listing the return fields is a useful addition — without it the return shape would be unknown. Minor gaps remain around default behavior when no filters are supplied.

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%, so the four filter parameters are already documented in the schema. The description restates the same filter axes without adding format or interpretation detail and omits limit entirely; baseline 3 applies.

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 gives a specific verb and resource — search Canton ledger transactions — plus the three filter dimensions (party, template ID, time range). It implicitly contrasts with the singular canton_get_transaction, but never names it, so sibling differentiation rests on inference.

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 filter list suggests it is for locating transactions matching criteria. There is no explicit when-to-use vs. canton_get_transaction or canton_list_active_contracts, and no statement about preconditions or when results would be empty.

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