Skip to main content
Glama

Restart PayRam Worker

restart_payram_worker

REMEDIATION ACTION (write): restarts a blockchain listener worker via supervisor — the minimal fix when check_node_sync reports a chain as lagging or listener-down. Workflow: run check_node_sync first → restart the named worker → wait ~60s → run check_node_sync again to confirm recovery. A restart does NOT fix an unreachable RPC (fix the RPC config in the dashboard instead). Requires admin JWT with write_system_settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoRestart ALL workers. Use only when multiple chains are unhealthy.
workerNoWorker to restart: a chain code ('BASE', 'ETH', 'BTC', 'TRX', 'POLYGON' → restarts that chain's listener) or a full worker name ('base-listener'). Omit when using all=true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
restartedYes

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries full transparency burden. It openly declares it as a write operation ('write'), specifies the mechanism (supervisor), requires 'admin JWT with write_system_settings', and clearly states what it does NOT fix. This goes beyond the minimal and gives an accurate behavioral model.

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?

The description is dense but every clause serves a purpose: action type, trigger condition, workflow, limitation, alternative, and permission. It is front-loaded with 'REMEDIATION ACTION (write)' and uses efficient formatting, with no wasted words.

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

Completeness5/5

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

The description is complete for decision and invocation: it explains when to use, the expected workflow, the failure mode with a clear alternative, and required permissions. The presence of an output schema means return value details are unnecessary, and the parameter schema handles parameter specifics.

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%, so baseline is 3. The input schema already explains both parameters with examples and usage ('Omit when using all=true'). The description adds no additional parameter-level semantics beyond what the schema provides.

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?

The description clearly states the tool restarts a blockchain listener worker via supervisor as a remediation action. It distinguishes itself from diagnostic siblings like check_node_sync by explicitly labeling it as the minimal fix when chains lag or listeners are down.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance (when check_node_sync reports lagging/listener-down), a step-by-step workflow (check → restart → wait → re-check), and when-not-to-use with an alternative (unreachable RPC → fix dashboard config instead). Also notes required admin JWT permission.

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.

TDQS

B3.3/5.0
Disambiguation3/5

Many tools have distinct targets, but there is notable overlap in diagnostics (check_node_sync, check_payment_readiness, payram_doctor, test_payram_connection) and a large cluster of snippet generators for different languages that could be confused. The descriptions help, but several tools appear to serve the same underlying purpose.

Naming Consistency3/5

Snake_case is used consistently, but verb prefixes vary unpredictably: check_, generate_, get_, list_, lookup_, search_, snippet_, test_, restart_, etc. Similar actions use different verbs (lookup_payment vs search_payments vs get_payment_summary; generate_payment_route_snippet vs snippet_express_payment_route), making the naming pattern less predictable.

Tool Count2/5

With 52 tools, the set is significantly over-scoped for a developer assistance server. Many tools could be consolidated (e.g., a single snippet generator with language parameters, or unified health diagnostics), and the count introduces unnecessary complexity for agents.

Completeness3/5

The surface covers payments (create, lookup, search, summary), diagnostics, docs, and many integration snippets, but lacks direct payout creation (only snippet generators), no refund or wallet creation. These are notable gaps for a payments platform server, though the snippet tools and diagnostics mitigate some dead ends.

Resources