Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

create_policy_from_preset

Create an email validation or sending policy from a strict, permissive, or smtp_required preset by providing a policy name and optional default setting.

Instructions

Create a policy from a preset: 'strict', 'permissive', or 'smtp_required'.

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": {
      "preset_id": "<preset_id>",
      "name": "<name>"
    },
    "name": "create_policy_from_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
preset_idYes
is_defaultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), and the description adds nothing beyond those — the preset list it cites is already enumerated in the schema. It never explains what settings each preset actually applies, whether the new policy is immediately enforced, or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence, front-loaded with the verb and resource, so there is no wasted prose. Its brevity is achieved by omission rather than by information density, and the preset list duplicates the schema enum.

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

Completeness2/5

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

This is a creation tool with a mutation side effect, no output schema, and zero parameter documentation, so the description should explain more about the resulting policy and the semantics of 'is_default'. Given the presence of near-identical siblings, the absence of any disambiguation is a meaningful gap.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the burden of explaining all three parameters, but it only echoes the preset_id enum that the schema already exposes. The required 'name' parameter and the 'is_default' flag (what it means for a policy to become default, and what happens to the previous default) are entirely undocumented.

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?

States a specific verb and resource ('Create a policy from a preset') and names the three preset options, which is enough for an agent to know exactly what the tool produces. It does not, however, distinguish itself from the close sibling create_reputation_policy_from_preset, leaving the agent to infer the difference.

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

Usage Guidelines2/5

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

There is no guidance on when to use a preset-based creation versus a full policy creation tool, no prerequisites, and no mention of when a given preset ('strict' vs 'permissive' vs 'smtp_required') is appropriate. The agent must infer all selection logic.

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