Skip to main content
Glama

Reply by email

reply_to_submission

Email a reply to the person who sent a submission. This sends a real email to a real person: show the user the exact text and get their explicit go-ahead before calling. The reply only ever goes to the address the visitor entered, and their answer comes back into the same Formpit conversation. Marks the submission as replied.

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": {
      "submission_id": "<submission_id>",
      "body": "<body>"
    },
    "name": "reply_to_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPlain-text reply
subjectNoDefault: "Re: your message to <form name>"
submission_idYesSubmission id, from list_submissions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare openWorldHint=true, idempotentHint=false, readOnlyHint=false, but the description adds the crucial non-obvious behavior: a genuine email leaves the system to a real person, approval is required, delivery is constrained to the address the visitor entered, and the submission is marked replied. That is materially more than the annotations convey, with no contradiction.

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?

Four short sentences, front-loaded with the core action, then the safety requirement, the routing guarantee, and the side effect. Nothing is repeated from the schema or wasted.

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 tool with no output schema, the description covers the safety-relevant behavior, recipient scoping, and the resulting state change. It stops short of covering failure modes (invalid submission id, delivery failure) or what is returned, which leaves a small gap.

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 100% and already documents submission_id, body, and the subject default, so the schema carries the parameter burden. The description only adds the routing constraint on the recipient address, which is useful but does not deepen subject or body semantics.

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 a specific verb (email a reply) and resource (submission / its sender), and the phrase 'marks the submission as replied' makes the side effect explicit. It is clearly distinguishable from read siblings like get_submission and list_submissions.

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 concrete precondition for invoking: show the user the exact text and get explicit approval before calling, because the effect is an irreversible real-world email. It does not name an alternative path (e.g. set_status for internal notes) or state when not to use it, which keeps it below a 5.

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