Skip to main content
Glama

devtune_send_dex_message

Idempotent

Send an idempotent message to a Dex thread, steering its active task or resuming a metered task after expiry.

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": {
      "message": "<message>",
      "messageId": "<messageId>",
      "threadId": "<threadId>"
    },
    "name": "devtune_send_dex_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
threadIdYes
messageIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / messageId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / threadId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true, so the description's "idempotent" wording is partly redundant. It does add real behavioral context beyond the annotations: the message goes into a thread and either steers a running task or revives a metered task after expiry. It says nothing about how idempotency is enforced, whether expiry windows change behavior, or what errors occur for a non-existent thread.

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?

One front-loaded sentence with no filler, and the verb and target precede the state-machine detail. It is tight, though perhaps too tight given what is left unexplained.

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?

This is a mutating, open-world tool with three required parameters at 0% schema coverage and no output schema. The description covers the high-level effect but omits parameter meanings, thread-existence requirements, and what a caller can expect on success or failure, which is not enough for an agent to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, and it fails: it never explains that messageId is the client-supplied deduplication key, that threadId targets an existing Dex thread, or anything about the 4000-character message limit. The word "idempotent" hints at messageId's role but never ties it to the parameter, leaving all three required params semantically undocumented.

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?

The description pairs a specific verb and resource ("Send ... message to a Dex thread") and names the two effects it can have on the thread's task state. It does not, however, contrast itself with nearby siblings such as devtune_start_dex_conversation or devtune_get_dex_events, so the agent cannot fully disambiguate from text alone.

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

Usage Guidelines3/5

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

"Steering its active task or resuming a metered task after expiry" implies the two situations this tool is meant for, which is useful. There is no explicit when-not guidance, no mention of needing an existing thread (and thus of using a start/create sibling first), and no stated prerequisites.

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.

Resources