Skip to main content
Glama
Polmexbot MCP Server

Polmexbot MCP Server

Official
by PolmexBot

Apply an approved strategy change

apply_config
DestructiveIdempotent

Saves real strategy configuration only after previewing the exact diff and confirming the owner's approval token and unchanged preview hash.

Instructions

Saves real strategy configuration. First call preview_config and show the owner the exact diff. Requires the owner-provided approvalToken and the unchanged previewHash.

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": {
      "patch": "<patch>",
      "previewHash": "<previewHash>",
      "approvalToken": "<approvalToken>"
    },
    "name": "apply_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
previewHashYes
approvalTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the safety profile is carried structurally. The description adds real value beyond that by disclosing the two-phase commit guard (hash must be unchanged since preview, token must come from the owner) and that the write hits live configuration. It stops short of stating what happens on a stale hash or invalid token.

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, both load-bearing. The live-write warning is front-loaded and the procedural instruction follows, with no filler.

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?

For a destructive, open-world write with three required parameters, a nested patch object, and no output schema, the description covers the safety workflow but omits what the patch should contain and what the caller gets back or sees on failure. Adequate but with a clear gap around the main payload.

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 0%, so the description must compensate. It explains the provenance and constraint of approvalToken and previewHash (owner-provided, unchanged since preview), but the primary payload parameter, patch, is never described despite being a nested free-form object.

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?

"Saves real strategy configuration" names a specific verb (saves) and resource (strategy configuration) and immediately contrasts it with the preview path, so an agent can distinguish it from preview_config without opening either schema.

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?

Explicit sequencing is given: call preview_config first, show the owner the exact diff, then apply with the owner-provided approvalToken and the unchanged previewHash. The prerequisite ordering and required inputs are spelled out, leaving little to inference.

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