Skip to main content
Glama

Sergio by Serviche

Link, move or unlink a relayed platform notice

link_relay_message
Idempotent

Says where a relayed platform notice belongs, as the relay thread's Link, Move and Unlink do: action 'link' or 'move' with clientId puts it on that client's conversation (and teaches the address); action 'unlink' with rule { id, name } takes it off the relay rule that brought it. Nothing is sent. Pass the same idempotency_key when retrying; a repeat on an unchanged message writes nothing.

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": {
      "email_id": "<email_id>",
      "action": "<action>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "link_relay_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleNo
actionYes
clientIdNo
email_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and destructiveHint=false, so the description's job is to add context — and it does: 'Nothing is sent' rules out an outbound message despite the word 'message', 'teaches the address' discloses a persistent side effect not visible in the schema, and the retry sentence explains what idempotency means in practice ('a repeat on an unchanged message writes nothing'). What it omits is permission requirements and what happens to an unlinking rule's prior associations.

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?

Front-loads the action/parameter mapping and ends with the two highest-value constraints (nothing is sent, retry with the same key). Slightly dense single-sentence construction and the 'as the relay thread's Link, Move and Unlink do' clause add flavor without much informational payload.

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

Completeness4/5

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

For a 5-parameter mutation with a nested object, no output schema and 20% schema coverage, the description covers action routing, side effects, and idempotency behavior. Missing only the response shape/error cases and any permission preconditions, which keeps it short of fully self-sufficient.

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

Parameters5/5

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

Schema coverage is only 20% (just idempotency_key), so the description must carry the load and largely does: it binds clientId to link/move, binds the nested rule { id, name } to unlink, and frames email_id as the relayed notice being acted on. The action enum is disambiguated by which companion parameter each value requires.

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 the specific resource (a relayed platform notice) and the three concrete operations (link, move, unlink), and explicitly scopes it to relay-thread semantics rather than generic linking. An agent can distinguish it from link_conversation_to_client or attach_relay_contact because the description anchors it on a relayed notice's placement and the relay rule.

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 conditional guidance per action value: 'link'/'move' pair with clientId, 'unlink' pairs with rule { id, name }. That is real when-to-use routing for each mode, but it never says when not to use this tool or names an alternative for overlapping cases.

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