Skip to main content
Glama
FirstReply MCP Server

FirstReply MCP Server

Official
by FirstReply

Ai Draft Reply

ai_draft_reply
Read-onlyIdempotent

Generates an AI reply draft for a conversation using your organization's configured prompts and knowledge base, returning it without sending.

Instructions

Generate an AI reply draft for a conversation using the organization's configured prompts and knowledge base. Returns the draft without sending it.

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": {
      "organizationId": "<organizationId>",
      "conversationId": "<conversationId>"
    },
    "name": "ai_draft_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYesThe conversation id.
organizationIdYesThe organization id. Use organization_list to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely new behavior context — output is generated from the org's configured prompts and knowledge base and is not delivered — but says nothing about latency, token cost, or what happens when no prompt is configured.

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?

Two short sentences with zero redundancy, front-loading what is generated and following with the non-sending guarantee. Every clause carries information an agent needs.

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?

With only two fully documented parameters and no output schema, the definition covers what the agent needs to call it correctly, and "returns the draft" sets expectations for the result. A note on failure modes (e.g. organization without configured prompts) or draft shape would make it fully complete.

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% and the organizationId field already points at organization_list, so the schema does the parameter work. The description adds only the implicit notion that organizationId selects which prompts/knowledge base are used; it gives no per-parameter detail of its own, so baseline 3 applies.

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 gives a specific verb and resource ("Generate an AI reply draft for a conversation") plus the source of truth (organization's prompts and knowledge base). Saying it returns without sending implicitly separates it from a send/reply tool, though it never names that sibling explicitly.

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?

"Returns the draft without sending it" implies a preview/review use case, which is useful context. However, it never states when an agent should prefer an actual send path (e.g. conversation_reply) or what prerequisites exist, so the routing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools