Skip to main content
Glama

Generate Inbox Reply Draft

aidelly_generate_inbox_reply_draft
Destructive

Generate an AI reply draft for an inbox item by id. Returns suggested reply text and attempts to save it on the item, replacing any earlier AI draft. Spends AI credits. Sends nothing; aidelly_reply_to_inbox_item sends a reply. Retry-safe: a repeat call with the same idempotency_key returns the original result.

Input Schema

NameRequiredDescriptionDefault
idYes
bodyNoOptional body override for endpoints with sparse parameter schemas.
queryNoOptional query overrides for endpoints with sparse parameter schemas.
brand_idNo
workspace_idNoWorkspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / idempotency_key / example
      Added value: +"order-123:create-post:v1"
    • addedInput schema / properties / idempotency_key / maxLength
      Added value: +255
    • addedInput schema / properties / idempotency_key / minLength
      Added value: +1
    • addedInput schema / properties / idempotency_key / pattern
      Added value: +"^[\\x21-\\x7E]{1,255}$"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the credit spend, the side effect of saving onto the item and replacing any earlier AI draft (consistent with destructiveHint=true), that the save is best-effort ('attempts'), and the retry contract keyed on idempotency_key. The keyed-retry statement is explicitly conditional and does not contradict idempotentHint=false, which describes unkeyed natural idempotency.

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 what the tool does, followed by side effects, cost, the sibling contrast, and the retry contract. No filler and nothing buried.

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 credit-spending, destructive, non-readOnly tool with no output schema, the description covers the essential uncertainty: cost, side effect, non-sending semantics, and retry behavior, and it notes the return value (suggested reply text). The remaining gap is that several optional parameters, notably workspace_id, are unexplained despite this being a content-creating call.

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 only 50%, and the description only adds meaning for two of six parameters: `id` (the target inbox item) and `idempotency_key` (repeat calls return the original result). brand_id, workspace_id, body, and query receive no explanation, leaving real gaps the schema does not fill.

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 and resource ('Generate an AI reply draft for an inbox item by id') and immediately scopes it against the sibling that actually sends a reply. An agent can distinguish it from aidelly_reply_to_inbox_item without inspecting either schema.

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 when-to-use (drafting a reply for an inbox item) and when-not ('Sends nothing; aidelly_reply_to_inbox_item sends a reply'), naming the alternative and the distinguishing condition. It also flags cost ('Spends AI credits'), which is decision-relevant before invocation.

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.