Skip to main content
Glama

ai_subject_lines

Read-only

AI email subject lines with scoring — Generates 3-15 email subject lines with preheaders in mixed styles (benefit, curiosity, question, specific number, personalized) for an email body or one-line description, then scores each 0-100 offline for mobile length, spam-trigger words, ALL-CAPS, repeated exclamation marks and fake RE:/FWD: prefixes, sorted best first. Optional: n (default 8), tone, audience. Price: $0.006 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_subject_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. Black Friday: 30% off all annual plans until Monday

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), and the description adds real operational context: the count range, the mixing of five style families, the offline scoring rubric (mobile length, spam words, ALL-CAPS, exclamations, fake RE:/FWD:), and best-first ordering. Billing terms ($0.006 USDC on Base via x402) are also disclosed, which is notable pre-call information an agent would otherwise not have.

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 the deliverable, then the styles, then scoring, then optional knobs and pricing — a sensible priority order. It is one dense run-on sentence, however, and the pricing/parenthetical clutter competes with the functional content.

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

Completeness5/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 does the work of explaining what comes back: line count range, preheaders, per-item 0-100 scores with the criteria, and best-first ordering. Combined with the readOnly annotations and a single required parameter, nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, but the schema documents only 'text' and not the optional 'n' (default 8), 'tone', or 'audience' that the description mentions, so the description is actually carrying meaning the schema lacks. The one gap is that it does not explain accepted values for 'tone' or 'audience', and the mismatch between described optional params and the one-property schema is left unexplained.

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 concrete verb+artifact: generates 3-15 email subject lines with preheaders in named styles, then scores them 0-100 and sorts best first. The resource is narrow enough (email subject lines) to be separable from ad copy or cold-email siblings, but no sibling is named, so differentiation is inferred rather than explicit.

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?

It does specify the input context ('for an email body or one-line description'), which implies when to reach for it, but there is no explicit when-not guidance and no pointer to an alternative tool for related jobs like full email bodies or ad copy.

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