Skip to main content
Glama
flipper-mcp
by jamiew

registry_install

Idempotent

Downloads, verifies, and validates a protocol from a remote index, then caches it so it becomes available to listing and identification tools on the next call.

Instructions

Install one protocol from a remote index into the user cache.

Downloads the JSON payload, verifies the SHA-256 checksum if present, validates the schema, and drops it into user_cache_dir. The new protocol becomes visible to registry_list and scan_and_identify on the next call.

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": {
      "index_url": "<index_url>",
      "protocol_id": "<protocol_id>"
    },
    "name": "registry_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
index_urlYes
protocol_idYes

Output Schema

NameRequiredDescriptionDefault
pathYes
installedYes
source_indexYes
sha256_verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, idempotent, non-destructive, so the safety bar is partly covered. The description still adds real substance: it downloads the payload, conditionally verifies a SHA-256 checksum, validates the schema, and writes into user_cache_dir. It omits failure behavior on checksum mismatch and whether an existing protocol with the same id is overwritten.

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

Conciseness5/5

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

Three short sentences with the action and its side effects front-loaded, then the processing steps, then the downstream visibility. No filler or restatement of the tool name.

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?

With an output schema present, return values need not be described, and the description covers the install pipeline and its visibility side effect well. Missing are error/validation-failure behavior and overwrite semantics for a repeat install, which matter for a non-destructive-but-mutating tool.

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

Parameters2/5

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

Schema coverage is 0% and both parameters are undocumented in the schema, so the description carries the burden. 'From a remote index' hints that index_url points at an index and 'one protocol' hints protocol_id selects an entry, but neither parameter's format (URL vs path, id vs name) or expected shape is explained.

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

Purpose5/5

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

States a specific verb and resource: install one protocol from a remote index into the user cache. It also names the downstream effects on registry_list and scan_and_identify, which lets an agent distinguish this write path from the read-only registry siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by 'install one protocol from a remote index,' and the description notes visibility appears on the next call, which is useful timing context. However, it never states prerequisites (e.g., needing a fetched index or an existing protocol id) or when to prefer registry_remove vs reinstalling for an already-present protocol.

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