Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

helper_get_example_contract

Retrieves the content of a specified example Simplicity contract—empty, p2ms, htlc, or vault—so you can inspect and reuse it.

Instructions

Get the content of an example contract

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": {
      "name": "<name>"
    },
    "name": "helper_get_example_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of example contract

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only retrieval via "Get", but does not state that it is non-mutating, whether the named example must exist, what happens on an unknown name, or what form the returned "content" takes. With no output schema, that last gap matters.

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 short, front-loaded sentence with no filler or redundancy. It is efficient, though the brevity borders on under-specification rather than crispness.

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?

This is a simple one-parameter lookup, so the bar is modest, and the enum names in the schema cover the input side. With no output schema and no description of the return content, an agent still cannot predict what it will receive, leaving a clear gap for such a trivial tool.

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% and the single parameter carries an enum of four values with a description, so the schema already does the work. The description adds no meaning beyond that baseline, such as what distinguishes the "vault" or "htlc" example from "p2ms".

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ("Get the content of an example contract"), which is understandable. However, "content" is undefined — an agent cannot tell whether this returns source code, JSON, a script template, or metadata — and there is no explicit differentiation from the sibling helper_list_example_contracts.

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 helper_list_example_contracts or contract_deploy. The only implied usage is that the agent must already know a contract name, but nothing states how to discover valid names or that listing is a prerequisite.

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