Skip to main content
Glama
Simplicity MCP Server

Simplicity MCP Server

simplicity_get_address

Derive an on-chain address from a Base64-encoded Simplicity program using hal-simplicity, enabling deployment and interaction on Liquid/Elements.

Instructions

Get on-chain address for a Simplicity program using hal-simplicity

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

Input Schema

NameRequiredDescriptionDefault
programYesBase64-encoded Simplicity program

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 behavioral burden. It doesn't disclose whether the address is derived purely locally/deterministically, which network the 'on-chain' address belongs to, or what happens when the program is malformed, leaving key behavioral traits unstated for a no-annotation 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?

A single front-loaded sentence with no filler. It is efficiently written, though its brevity contributes to the missing behavioral and output information noted elsewhere.

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

Completeness2/5

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

There is no output schema, so the description must indicate what is returned, but it never says whether the result is a string address, which chain/network it belongs to, or how errors surface. For a one-parameter derivation tool this leaves meaningful gaps.

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 100% and already documents the single parameter as a base64-encoded Simplicity program. The description restates the concept ('Simplicity program') but adds no encoding, size, or validity detail beyond the schema, so 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?

States a specific verb and resource ('Get on-chain address') plus the input type ('for a Simplicity program'), and names the underlying mechanism (hal-simplicity). It distinguishes itself from the elements_* address tools by scoping to Simplicity programs, though it doesn't explicitly contrast with siblings like simplicity_decode.

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 when-to-use or when-not-to-use guidance, and no alternatives named (e.g., simplicity_decode for inspecting a program). Usage is only inferable from the input type.

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