Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

set_mmp_config

Configure market maker protection per currency by setting check interval, delta/amount limits, and freeze duration; set interval to 0 to disable or freeze time to 0 for manual reset.

Instructions

Configure MMP. Set interval=0 to disable, frozen_time=0 for manual-only reset.

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": {
      "currency": "<currency>",
      "mmp_interval": "<mmp_interval>",
      "mmp_frozen_time": "<mmp_frozen_time>"
    },
    "name": "set_mmp_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYesCurrency to configure MMP for
mmp_intervalYesMMP check interval (ms). 0 = disabled
subaccount_idNo
mmp_delta_limitNo
mmp_frozen_timeYesFreeze duration (ms). 0 = manual reset only
mmp_amount_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses two behavioral facts (0 disables the interval, 0 makes freeze manual-only) but never states that this is a mutation, whether it requires authentication, whether it interrupts existing orders/protection in flight, or how the three undocumented limit/subaccount parameters behave.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded, with no filler; the disable semantics arrive immediately. The first sentence slightly restates the tool name but cheaply establishes the domain.

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

Completeness2/5

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

For a 6-parameter mutation tool with no annotations and no output schema, the definition is thin: half the parameters are unexplained in both schema and description, and there is no statement of side effects, success response, or prerequisite configuration state.

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%, and the description usefully explains the sentinel value 0 for both mmp_interval and mmp_frozen_time, though it uses shortened names ('interval', 'frozen_time') that differ from the schema keys. It adds nothing for subaccount_id, mmp_delta_limit, or mmp_amount_limit, including their expected units/format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource pair ('Configure MMP') is present, but the acronym is never expanded and no affected settings are named, so an agent must already know what MMP stands for. It also does not distinguish this setter from the sibling get_mmp_config or reset_mmp beyond the generic word 'Configure'.

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

Usage Guidelines2/5

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

The description gives parameter-level semantics (how to disable) but no when-to-use guidance: nothing says when to call this instead of reset_mmp or get_mmp_config, nor whether it must be called before configuring protection. The agent is left to infer the workflow from sibling names alone.

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