Skip to main content
Glama

Analyze mail piece (deprecated compatibility alias)

analyze_mail_piece

Use when the user has a photo, screenshot, or image of a loan or credit-card offer letter (or describes a letter they received), including a letter that carries a LendMail Advisors review mark (printed with the address lendmail.fit/review), and wants to know who sent it, what the offer is, where the response or confirmation code is located, and whether it is worth responding to. Returns a plain-language read of the mailer. LendMail is not the lender and does not make credit decisions; lenders that are LendMail Advisors Contributors are identified by a verified LendMail Advisors review mark, and the result says when a mark is verified.

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": "analyze_mail_piece"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlNoIgnored. Images are not accepted over MCP; use the returned session_url instead.
image_base64NoIgnored. Images are not accepted over MCP; use the returned session_url instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, openWorldHint=false, and destructiveHint=false; the description adds domain context beyond that — the LendMail-is-not-the-lender disclaimer and the meaning of a verified review mark — which is genuinely useful for interpreting results. It does not disclose the operational behavior the annotations hint at: that this is a two-phase flow returning a session_url, that the image parameters are ignored, or that the tool is deprecated. Nothing in the description contradicts the annotations.

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?

It is front-loaded with the trigger condition, which is correct structure, but the first sentence runs long with a stack of parentheticals before reaching the core action. The trailing disclaimer and review-mark sentences are relevant but consume space while the deprecated-alias status and session flow — the facts an agent most needs — are omitted entirely.

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?

For a deprecated alias with ignored parameters, no required inputs, and a documented session_url handoff, the description omits every operational essential: how to actually pass an image, what the return flow is, and why one should prefer a sibling. There is no output schema, so the description must carry the return semantics, and 'a plain-language read of the mailer' is thin given the four-part question set it promises to answer.

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 description coverage is 100% and both parameters carry explicit notes, so the schema does the heavy lifting and the baseline is 3. The description adds no parameter meaning at all and, importantly, never explains the session_url handoff that the schema refers to, so an agent reading only the description would not understand how to actually supply an image.

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: it reads a loan or credit-card offer letter image and reports sender, offer, code location, and whether responding is worthwhile, plus a plain-language summary. That is far more specific than the name alone. It fails to differentiate itself from the sibling tools (get_mail_analysis, start_mail_analysis) and never mentions that it is a deprecated compatibility alias, which is the single most decision-relevant fact about it.

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?

There is a clear and detailed 'use when' trigger covering photo/screenshot/described-letter inputs and the four questions the user is asking, which is good positive guidance. However, there is no 'when not to use' and no routing to alternatives, even though siblings such as start_mail_analysis and get_mail_analysis exist and this tool is marked deprecated in the title. An agent has no signal that a better path may exist.

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.

Resources