Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

correct_inbound_message

Idempotent

Submit a human-in-the-loop correction for an inbound message classification, supplying the correct category to improve the classifier.

Instructions

Submit a human-in-the-loop correction for an inbound message classification. Used to improve the classifier by providing the correct category.

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": {
      "message_id": "<message_id>",
      "correction": "<correction>"
    },
    "name": "correct_inbound_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
correctionYesCorrected classification category.
message_idYesInbound message ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.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, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the mutation profile is covered. The description adds the feedback-loop framing (this feeds the classifier, human-in-the-loop), which is genuine context beyond the annotations, but it does not say whether the corrected category is applied to the message itself or only recorded as training signal, nor what a repeated idempotent submission returns.

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, front-loaded with the action and followed by the motivation; nothing is redundant or padded.

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 two-parameter tool with full schema coverage, no output schema and complete annotations, the definition covers what the caller needs to identify the action and its purpose. The one meaningful omission is whether the correction retroactively changes the message's stored classification, which matters for an agent deciding whether follow-up reads are needed.

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 both parameters (message_id, correction) are self-documented. The phrase 'providing the correct category' loosely maps to the correction parameter but adds no syntax, format, allowed values, or enum guidance beyond the schema, so the baseline of 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 states a specific verb and resource: submitting a human-in-the-loop correction for an inbound message classification, plus the intent of improving the classifier. This clearly separates it from read-oriented siblings like get_inbound_message and rule-management tools like create_inbound_rule, though it never names an alternative 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?

It implies the usage context ('human-in-the-loop', 'to improve the classifier') but gives no explicit when-to-use or when-not-to-use guidance, and no prerequisites such as required permissions or whether the message must already be classified. The agent must infer that this is the escalation path when a classification is judged wrong.

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