Skip to main content
Glama
Canton Ledgerview MCP Server

Canton Ledgerview MCP Server

by stratoslab

add_documentation

Adds a markdown documentation file to the Canton Ledgerview knowledge base so AI agents can store project guides and reference content for later retrieval.

Instructions

Adds a new documentation file to the MCP server's knowledge base.

Args: filename: name of the file (e.g., 'my_guide.md') content: The markdown content of the documentation description: Short description of what this doc covers

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": {
      "filename": "<filename>",
      "content": "<content>"
    },
    "name": "add_documentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes
filenameYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a write but never says whether an existing filename is overwritten or rejected, whether the change is persistent, or whether any permission is required — all material for a mutation tool.

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?

One summary sentence followed by a compact Args block — front-loaded and free of padding. The Args formatting is slightly redundant with the schema but does not waste much space.

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?

An output schema exists, so return values need not be explained. However, for an unannotated mutation tool with zero schema coverage, the definition should say more about overwrite behavior and persistence before an agent can call it confidently.

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 0%, so the description must compensate, and it does partially: it gives a filename example ('my_guide.md'), states content is markdown, and calls description 'short'. It still omits constraints such as filename uniqueness, allowed extensions, or size limits, and the empty default for description is unexplained.

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 and resource: 'Adds a new documentation file to the MCP server's knowledge base.' An agent can tell this is a write operation on docs, distinct from the read-only sibling list_available_docs, though the description never names any 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 Guidelines2/5

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

No guidance on when to use this versus alternatives, no prerequisites, and no indication of whether the doc must later be registered or listed. The agent must infer the workflow entirely.

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