Skip to main content
Glama
Canton Ledgerview MCP Server

Canton Ledgerview MCP Server

by stratoslab

get_project_summary

Reads package.json and counts files in the specified project path to produce a summary, enabling quick assessment of project structure and contents.

Instructions

Reads the package.json and counts files in the specified project path to provide a summary. Arguments: project_path: Relative or absolute path to the project root.

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": "get_project_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathNo.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the two operations performed (reading package.json, counting files), which implicitly marks it as a read-only tool. It does not say whether file counting is recursive, how it behaves if package.json is missing, or whether large trees are expensive. Those gaps matter for a tool with zero annotation coverage.

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 sentence of purpose followed by a compact parameter note; nothing is padded, and the action is front-loaded. The repeated 'Arguments:' header is slightly formulaic for a single parameter but costs little.

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-value explanation is fairly excused. Still, for a filesystem-touching tool with no annotations, the definition should say whether traversal is recursive and what happens when the project lacks a package.json. Those omissions leave the agent guessing at edges.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description has to explain the single parameter, and it does: it says the value is a relative or absolute path pointing at the project root. That is more than the schema conveys. It omits the default of '.', which is left to the schema to communicate.

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 concrete mechanism: it reads package.json, counts files under a path, and returns a summary. That is a specific verb-plus-resource statement an agent can act on. It stops short of distinguishing itself from siblings such as analyze_daml_safety or add_documentation, but those names point to clearly different domains, so there is little real ambiguity.

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 never states when to reach for this tool, when not to, or what alternative exists for a similar question. Usage is only implied by the phrase 'to provide a summary'. An agent must guess whether this is the right entry point for project introspection.

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