Skip to main content
Glama
mcp-server-hyperledger-fabric

mcp-server-hyperledger-fabric

by rene-dekart

Check network status

check_network_status
Read-onlyIdempotent

Verify peer health by checking ledger height, last block, and response latency before making calls to confirm the Fabric peer is reachable.

Instructions

Check peer health: ledger height, last block, response latency. Use before a series of calls to confirm the peer is reachable.

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

Input Schema

NameRequiredDescriptionDefault
channelYesFabric channel name
timeoutMsNo

Output Schema

NameRequiredDescriptionDefault
heightYes
statusYes
lastBlockYes
latencyMsYes
currentBlockHashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description adds useful context about what is measured (latency, ledger height) but says nothing about failure behavior, whether a timeout raises an error or returns a degraded status, or what latency threshold counts as unhealthy.

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?

Two sentences, no filler, with the purpose stated before the usage advice. Nothing could be removed without losing information.

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?

An output schema exists, so return values need no explanation in the description, and the single required parameter is constrained by the schema. The only real gap is timeout/error semantics, which matters somewhat for a health-check tool but not enough to make the definition incomplete.

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 50%: 'channel' is documented in the schema, while 'timeoutMs' carries constraints (default 9000, max 30000) but no prose. The description adds no parameter-level meaning at all, so it merely meets the baseline set by partial schema coverage.

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?

Names a specific verb (check) and resource (peer health) and enumerates the concrete signals returned: ledger height, last block, response latency. It is clearly distinct from the data-retrieval siblings, though it never explicitly says so.

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

Usage Guidelines4/5

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

Gives a clear usage context: 'Use before a series of calls to confirm the peer is reachable.' That is a real when-to-use rule. It stops short of naming exclusions or an alternative tool for deeper diagnostics.

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