Skip to main content
Glama

Add a message

add_message
Idempotent

Add a follow-up. The result says whether it was delivered. Example arguments: {"request_id":"req_0123abcd","message":"6061 aluminium.","idempotency_key":"brackets-2"}

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": {
      "request_id": "<request_id>",
      "message": "<message>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "add_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes1 to 5000 characters.
request_idYesRequest id.
idempotency_keyYes8 to 100 characters. New key per follow-up.

Output Schema

NameRequiredDescriptionDefault
idYes
statusYes
delivered_to_businessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this a non-destructive, idempotent, open-world write, so the safety profile is covered. The description adds that the result reports delivery status, which is genuinely useful context, but it omits what happens on duplicate keys or failed delivery.

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?

Three short sentences, front-loaded with the action, and the example is compact. Slight redundancy in restating the return value that an output schema already covers.

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 3-parameter mutation with full schema coverage, an output schema, and annotations covering side effects, the definition is nearly sufficient. The main gap is what a follow-up attaches to and what a failed-delivery result implies.

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 description coverage is 100%, so the baseline is 3; the field descriptions already state length limits and "new key per follow-up." The example argument block shows realistic values and reinforces the idempotency-key convention, but adds no semantics beyond that.

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?

"Add a follow-up" gives a verb but a vague resource – it never says a follow-up to what (a request?), nor how it differs from siblings like report_outcome or create_request. An agent must infer the target object from the parameter names.

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?

There is no when-to-use or when-not-to-use guidance, no mention of a prerequisite request state, and no routing to alternatives such as report_outcome. Usage is only weakly implied by the phrase "follow-up".

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