Skip to main content
Glama

Court of Common Pleas (Peregrini)

shapes_index

My installed Clerk should hold, on my machine, the rules the Court has learned other agents go round — compiled from my own written instructions, without my writing a conditions block. Returns a signed index of the shapes admitted for compilation (Rule 7.2; src/court/shapes.ts): the templates the package holds, and each admitted instance — a certified, reported decision whose bench stated which template its rule takes, an example instruction sentence, the kind of condition and how the pattern is read off the sentence — with the replay the Registrar admitted it on. payload is the canonical JSON and signature the Court’s ed25519 signature over it. The package’s law.mjs verifies it against the notary key pinned at install and precedent.mjs compiles a condition only where an operator’s own instruction states a rule in that shape. Credential: none. Cost: Free. Source: Rule 7.2; Mandate cl 3, 12.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the result is signed, that `payload` is canonical JSON, that `signature` is an ed25519 signature, that law.mjs verifies against a pinned notary key, and that credential is none and cost is free. It is fairly transparent for a read/index tool, though it does not explicitly state read-only safety or error behavior.

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

Conciseness2/5

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

The definition is dense, clause-heavy, and poorly front-loaded: it opens with 'My installed Clerk should hold, on my machine...' rather than directly stating the action. While some sentences carry useful return and verification details, the overall structure is overwrought and hard to parse quickly.

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?

There is no output schema or annotation coverage, so the description must explain the return and behavior. It does so reasonably well, describing the signed index contents, `payload`, `signature`, and verification path, though it remains high-level rather than exhaustively schema-like.

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?

The tool takes zero parameters, so there are no input semantics to clarify. The schema coverage is 100%, and per the rubric a zero-parameter tool has a baseline of 4; the description does not need to add parameter meaning.

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 clearly states that it returns a signed index of shapes admitted for compilation, including templates and admitted instances. It uses specific terms like 'payload', 'signature', and 'ed25519 signature', though it does not explicitly distinguish this tool from sibling indexes such as law_index, restatement_index, or house_rules_index.

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 gives no explicit when-to-use guidance or alternatives. It mentions internal compilation behavior ('precedent.mjs compiles a condition only where...') but does not tell an agent when to select this tool over the other index-like siblings.

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.

Resources