Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

delete_policy

DestructiveIdempotent

Delete a validation policy and all associated rules by policy ID to remove outdated email validation requirements and keep deliverability enforcement current.

Instructions

Delete a validation policy and all its rules.

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": {
      "policy_id": "<policy_id>"
    },
    "name": "delete_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds one genuinely useful behavioral fact beyond them — that the policy's rules are cascade-deleted — but says nothing about whether an in-use policy can be deleted, whether the action is recoverable, 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.

Conciseness5/5

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

One short, front-loaded sentence with zero redundant or filler wording. The destructive scope is stated immediately in the only clause available.

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

Completeness3/5

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

For a destructive, cascading delete with a required undocumented identifier and no output schema, the definition is thin: an agent still lacks the source of policy_id and any confirmation or irreversibility guidance. The annotations partly carry the risk profile, keeping this at a minimum-viable level rather than inadequate.

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?

The single parameter policy_id has 0% schema description coverage, so the description carries the full burden and fails to compensate. It does not explain how to obtain a policy_id (e.g., from a get/list tool) or whether the integer is a policy ID or a preset-derived identifier.

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 ('Delete a validation policy') and clarifies the scope of the operation ('all its rules'). The qualifier 'validation' implicitly separates it from the sibling delete_reputation_policy, though no sibling is named explicitly.

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 when-to-use guidance, no statement of prerequisites or consequences, and no routing to alternatives such as disabling the policy or using update_reputation_policy. The agent must infer usage entirely from the imperative verb.

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