Skip to main content
Glama
Polmexbot MCP Server

Polmexbot MCP Server

Official
by PolmexBot

Preview and validate a strategy change

preview_config
Read-onlyIdempotent

Merge a partial strategy patch with current settings to validate keys, ranges, affordability, and cross-field rules; return the exact diff and previewHash required before applying or starting.

Instructions

Read-only. Merges a partial strategy patch with the current configuration, validates keys, ranges, affordability, and cross-field rules, and returns the exact diff plus a previewHash required for apply_config or start_bot. No settings are saved.

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>"
    },
    "name": "preview_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesPartial configuration using documented Polmexbot keys

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description goes beyond them by disclosing the validation surface (keys, ranges, affordability, cross-field rules) and the returned artifacts (exact diff, previewHash). It does not say how validation failures are surfaced or whether a partial/invalid diff is still returned, which is the main remaining behavioral gap.

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 short sentences, front-loaded with 'Read-only.' then the core mechanism and return values. Every clause carries distinct information: merge behavior, validation scope, outputs, downstream requirement, and no-persistence guarantee.

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?

No output schema exists, so the description carries the return-value burden and does so by naming the exact diff and previewHash. For a single-parameter, annotation-covered tool, nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% and there is only one parameter, so the baseline would be 3, but the description adds real semantics: the patch is 'partial' and is merged with current configuration rather than replacing it, and keys must be documented Polmexbot keys. That merge semantics is not derivable from the schema alone.

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 specific verbs and resource: merges a partial strategy patch with current config, validates it, and returns a diff plus previewHash. It also names apply_config and start_bot as the consumers of the hash, so an agent can distinguish this preview tool from the mutating siblings 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 Guidelines4/5

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

'previewHash required for apply_config or start_bot' establishes the call ordering and makes the use case explicit, and 'No settings are saved' heads off misuse as a write path. There is no explicit when-not-to-use (e.g., for pure read-only inspection of current config) and no mention of what to do when validation fails, which keeps it below a 5.

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