Skip to main content
Glama

check_contact_has_email

Read-only

Check whether the user holds a usable email for a contact saved in FuseAI, based on the email statuses already stored (no new verification or other outside call is made). Pass contactId (24-hex) and optional verifiedOnly (default true: only verified-valid emails count; false: any deliverable email counts, including unverified user-supplied ones). Returns { hasEmail, email } where email is the primary email when it qualifies, else the first qualifying email, else null. Use it as a gate before an email step.

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": {
      "contactId": "<contactId>"
    },
    "name": "check_contact_has_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactIdYes
verifiedOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, but the description adds substantive behavior beyond them: no new verification or external call is performed, only stored statuses are consulted, and the qualifying-email selection order is defined. It also discloses the return contract ({ hasEmail, email }) with the fallback-to-null case, which no structured field covers.

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?

Front-loaded with purpose and scope, then parameters, then return shape, then usage — a sensible ordering with no filler sentences. It is dense (three clauses in the first sentence) but each clause carries decision-relevant information, so nothing is clearly removable.

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 read-only predicate with no output schema, the description covers purpose, parameter semantics, side-effect absence, and return shape — nearly everything needed to call it. The only gap is undefined behavior when the contactId does not resolve to a contact (error vs. hasEmail=false).

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

Parameters5/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 does: contactId is specified as 24-hex, and verifiedOnly is given a default (true) plus the exact semantic difference between true (only verified-valid) and false (any deliverable, including unverified user-supplied). This is meaning an agent could not recover from the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Check whether the user holds a usable email for a contact saved in FuseAI") and immediately bounds the scope with "based on the email statuses already stored (no new verification or other outside call is made)", which distinguishes it from enrichment-style siblings like enrich_contact without naming them.

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?

Gives a clear usage context with "Use it as a gate before an email step", telling the agent exactly where in a workflow this belongs. It stops short of naming an alternative for the opposite case (e.g. which tool to use if no email exists and one must be found), so there is no explicit exclusion.

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.