Skip to main content
Glama
HostMT5 MCP server

HostMT5 MCP server

set_ea_inputs

Update an attached Expert Advisor's input parameters by name; only that EA restarts (~1 s).

Instructions

Change an attached EA's inputs, e.g. {"Lots": "0.05"}. Names must be the EA's own (see list_eas). Only that EA restarts (~1 s).

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": {
      "account_id": "<account_id>",
      "ea_id": "<ea_id>",
      "inputs": "<inputs>"
    },
    "name": "set_ea_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
ea_idYes
inputsYes
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add useful behavior: only the targeted EA restarts (~1 s) and mismatched input names are rejected. It omits whether the supplied inputs merge with or replace the EA's existing input set, whether values must be strings, and what the call returns.

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: purpose first, example inline, validation rule, then the side effect with its timing. Nothing is wasted and there is no padding.

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 3-parameter mutation with a free-form nested object, no annotations, and no output schema, the definition covers the core behavior but leaves merge-vs-replace semantics, the account_id/ea_id relationship, and the response shape unaddressed.

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 0%, so the description must compensate. It does explain the key `inputs` map semantics (name→value pairs, names must belong to the EA), but ea_id and account_id get no explanation, including why both are required for an already-attached EA.

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?

States a specific verb and resource ('Change an attached EA's inputs') and backs it with a concrete example ({"Lots": "0.05"}). The word 'attached' and 'Change' implicitly separate it from attach_ea and ea_inputs, but no sibling is named as a contrast, so differentiation is inferred rather than explicit.

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 real usage constraint: input names must be the EA's own and it points to list_eas to obtain them, which routes the agent correctly. It also implies the EA must already be attached. It does not state when-not to use it (e.g. for an EAs not yet attached, use attach_ea).

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