Skip to main content
Glama

Classify a reply

classify_reply

Classify an email reply by intent—interested, not now, not interested, question, referral, wrong person, or other—and optionally mark it handled to stop further action.

Instructions

Set a reply's intent: interested (wants to talk / asks for a meeting), question (asks something before deciding), not_now (timing), not_interested, referral (points to someone else), wrong_person, other. handled: true marks it as needing no further action.

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": {
      "reply_id": "<reply_id>",
      "intent": "<intent>"
    },
    "name": "classify_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
handledNo
reply_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=false and destructiveHint=false, so the description's main added value is the meaning of handled=true ('needing no further action'), which is genuinely useful. It does not say whether classification overwrites a prior intent, whether it is reversible, or whether setting an intent triggers any downstream action, which are meaningful gaps for a state-mutating tool.

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?

Two tight sentences, front-loaded with the action, with the enum glossary doing real work rather than padding. The colon-separated list is dense but readable and has no filler.

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 no output schema and a small three-parameter schema, the description covers what an agent needs to pick the right intent value and set handled. The remaining gap is behavioral (side effects, overwrite semantics) rather than definitional.

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 0%, so the description carries the full burden, and it largely does: all seven intent values are glossed with decision-relevant meaning (interested = wants a meeting, not_now = timing, referral = points elsewhere), and handled is explained. Only reply_id is left unaddressed, and its meaning is self-evident.

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?

'Set a reply's intent' states a specific verb and resource, and the enum glossary makes the operation's effect concrete. It does not name or distinguish itself from siblings such as list_replies or move_stage, so an agent must infer that this is the write-side counterpart to listing replies.

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?

Usage is implied by the parameter semantics rather than stated: the agent can infer this is the tool to call once a reply has been read and needs triage. There is no explicit when-to-use, no note on re-classifying an already-classified reply, and no pointer to how reply_id is obtained (e.g., list_replies).

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