Skip to main content
Glama

Emitd MCP Server

Check an email before sending

check_email
Idempotent

Reads a draft for mistakes that can't be taken back: links or images on a local address, unfilled {{placeholders}}, links that go nowhere, missing alt text, HTML big enough for Gmail to clip. Sends nothing and fetches nothing. Use it before send_email when you wrote or changed the HTML yourself, and fix every finding with severity error.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectNo
html_bodyNo
text_bodyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

The description adds real behavioral detail beyond the annotations: what defect classes are detected, that nothing is sent, and that findings are graded by severity. However, 'sends nothing and fetches nothing' directly conflicts with the declared openWorldHint=true (and arguably with readOnlyHint=false for a pure inspection tool), leaving the agent unsure whether this tool touches the network or mutates anything.

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 tight sentences, front-loaded with the defect list and followed by the usage rule; every clause carries information and nothing is padded or repeated from the title.

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?

With no output schema, the description should describe the return shape, and it only hints at 'findings with severity error' without stating the structure or whether a clean draft yields an empty result. Combined with fully undocumented parameters and an annotation profile that contradicts the stated no-fetch behavior, the definition is usable but not complete.

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 full burden, and it names none of the three parameters (subject, html_body, text_body). It implies HTML is the inspected input via references to alt text and placeholders, but nothing explains what subject or text_body do or whether all are optional (required count is 0).

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 concrete verb and resource ('reads a draft') and enumerates the exact defect classes it catches: local-address links/images, unfilled {{placeholders}}, dead links, missing alt text, and Gmail clipping size. It separates itself from send_email by scope, but never distinguishes itself from the sibling validate_email, which an agent could easily confuse with this check.

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

Usage Guidelines4/5

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

It states an explicit trigger ('use it before send_email when you wrote or changed the HTML yourself') and a follow-up rule ('fix every finding with severity error'). It gives no when-not guidance and does not say whether validate_email is a complement or a substitute, so an agent must infer the boundary.

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.