Skip to main content
Glama

Reply to the user

reply_to_user

Answers the user, as the app's setting allows (see get_app, agent_replies): draft saves a suggested reply the team sends or discards in the inbox; send sends it right away (the user gets it in the app, as a push, and by email if unread), only when the user's message is the last one; off refuses. Write as the team, plainly, without promises the team hasn't made. The chat shows Markdown: write short chat-style Markdown (bold for the one thing to tap or remember, a numbered list for steps, code for exact names, settings and values, links as text); no headings in short replies, no tables or images.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "reply_to_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoUp to 5 questions the user answers together; the answers come back structured in get_conversation (form_answer). `text` (or form.text) is the intro.
giftNoA gift the user opens: a card with an Open gift button that opens `url` with a one-time `devreply_gift=gft_…` token added. The app checks the token (POST /v1/project/gifts/claim with a secret key, or the gift.opened webhook) before granting anything. Only offers the team set up; never in exchange for a rating.
textNoThe reply, in Markdown (shown formatted in the app, the inbox and emails). With options: the question.
linksNoButtons that open a link: the app's own deep link (its scheme from Settings → deep link, e.g. kneefit://lessons/new) or https. The app's deep-link handling does the rest (open a screen, a paywall). `text` becomes the intro.
optionsNoAnswer buttons under the reply (one tap answers; the user can still type). Users answer buttons far more often than they type: use them for a quick choice, e.g. ["Too expensive", "Want to try more", "Payment problem"].
conversation_idYesThe conversation's id (from list_conversations or get_user).

Output Schema

NameRequiredDescriptionDefault
sentYestrue: the user got it; false: saved as a draft for the team.
app_idNoSend mode: the app.
statusNoDraft mode: what happens next.
draft_idNoDraft mode: the draft's id.
message_idNoSend mode: the message's id.
conversation_idYesThe conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / form
      Added value: +{
      +  "description": "Up to 5 questions the user answers together; the answers come back structured in get_conversation (form_answer). `text` (or form.text) is the intro.",
      +  "properties": {
      +    "questions": {
      +      "description": "The questions, in order.",
      +      "items": {
      +        "properties": {
      +          "kind": {
      +            "description": "One choice, several, or free text.",
      +            "enum": [
      +              "single",
      +              "multi",
      +              "text"
      +            ],
      +            "type": "string"
      +          },
      +          "options": {
      +            "description": "For single and multi.",
      +            "items": {
      +              "maxLength": 40,
      +              "type": "string"
      +            },
      +            "maxItems": 6,
      +            "minItems": 2,
      +            "type": "array"
      +          },
      +          "required": {
      +            "description": "Must be answered.",
      +            "type": "boolean"
      +          },
      +          "text": {
      +            "description": "The question.",
      +            "maxLength": 300,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "text",
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 5,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "text": {
      +      "description": "Optional intro (Markdown).",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "questions"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / gift
      Added value: +{
      +  "description": "A gift the user opens: a card with an Open gift button that opens `url` with a one-time `devreply_gift=gft_…` token added. The app checks the token (POST /v1/project/gifts/claim with a secret key, or the gift.opened webhook) before granting anything. Only offers the team set up; never in exchange for a rating.",
      +  "properties": {
      +    "expires_in_days": {
      +      "description": "Default 14.",
      +      "maximum": 90,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "text": {
      +      "description": "One line, e.g. \"Thanks for finding that bug!\".",
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "e.g. \"50% off for a year\".",
      +      "maxLength": 80,
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "The app's deep link (or https) that grants it, e.g. kneefit://paywall?offer=bug_hunter.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / links
      Added value: +{
      +  "description": "Buttons that open a link: the app's own deep link (its scheme from Settings → deep link, e.g. kneefit://lessons/new) or https. The app's deep-link handling does the rest (open a screen, a paywall). `text` becomes the intro.",
      +  "items": {
      +    "properties": {
      +      "label": {
      +        "description": "The button's text.",
      +        "maxLength": 40,
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "https://… or the app's scheme.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "conversation_id",
      -  "text"
      -]New value: +[
      +  "conversation_id"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id / description
      Added value: +"The conversation's id (from list_conversations or get_user)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "app_id": {
      +      "description": "Send mode: the app.",
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "conversation_id": {
      +      "description": "The conversation.",
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "draft_id": {
      +      "description": "Draft mode: the draft's id.",
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "message_id": {
      +      "description": "Send mode: the message's id.",
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "sent": {
      +      "description": "true: the user got it; false: saved as a draft for the team.",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "description": "Draft mode: what happens next.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "conversation_id",
      +    "sent"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=false, openWorld=false, idempotent=false; the description adds the substantive behavior on top — that send pushes to app, push notification and email if unread, that a gift card embeds a one-time `devreply_gift` token the app must verify via POST /v1/project/gifts/claim or the gift.opened webhook. This is exactly the extra context annotations cannot carry.

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-loaded with mode behavior, then writing/format rules — a sensible order with no filler sentences. The Markdown styling parenthetical is dense and slightly long, but each clause governs a distinct output decision.

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

Completeness5/5

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

For a 6-parameter tool with nested form/gift/links objects, the description covers the mode contract, per-parameter intent, gift token verification, and content-style constraints; return values are left to the output schema, which exists. Nothing needed to invoke it correctly appears missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds editorial meaning not in the schema: buttons are answered far more often than typing, so options should be used for quick choices, and the reply must be written plainly without unearned promises. Formatting guidance (short chat-style Markdown, no headings/tables/images) also constrains how `text` should be authored.

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?

Opens with a specific verb and resource ("Answers the user") and immediately enumerates the three operating modes (draft/send/off), which is far more than a restatement of the title. An agent can distinguish this from start_conversation or send_feedback on behavior alone.

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

Usage Guidelines5/5

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

Gives explicit conditions per mode: draft saves a suggested reply for the team, send delivers only when the user's message is the last one, off refuses — and points to get_app (`agent_replies`) as the source of truth for which applies. It also states the gift precondition (only offers the team set up, never for a rating), which is a real when-not rule.

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