Skip to main content
Glama

Subject line tester

test_subject_line
Read-onlyIdempotent

Score a cold email subject line out of 10: length, wording that hurts opens, and spam trigger words. Returns the score, a verdict, word and character counts, and each problem with why it matters and how to fix it.

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": {
      "subject": "<subject>"
    },
    "name": "test_subject_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYesThe cold email subject line to score, exactly as it would be sent, e.g. "quick question about your site".

Output Schema

NameRequiredDescriptionDefault
charsYesCharacter count of the subject.
scoreYesScore out of 10.
wordsYesWord count of the subject.
subjectYesThe subject line that was scored, trimmed.
toolUrlYesThe same check as a free web tool on pipefire.ai.
verdictYesOne-line summary of the score.
findingsYesEach problem found, with why it matters and the fix. Empty when the subject is clean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / chars / description
      Added value: +"Character count of the subject."
    • addedOutput schema / properties / findings / description
      Added value: +"Each problem found, with why it matters and the fix. Empty when the subject is clean."
    • addedOutput schema / properties / findings / items / properties / fix / description
      Added value: +"What to change."
    • addedOutput schema / properties / findings / items / properties / title / description
      Added value: +"The problem, in a few words."
    • addedOutput schema / properties / findings / items / properties / why / description
      Added value: +"Why it hurts delivery or replies."
    • addedOutput schema / properties / subject / description
      Added value: +"The subject line that was scored, trimmed."
    • addedOutput schema / properties / verdict / description
      Added value: +"One-line summary of the score."
    • addedOutput schema / properties / words / description
      Added value: +"Word count of the subject."
  2. Changed2 schema fields changed
    • addedInput schema / properties / subject / description
      Added value: +"The cold email subject line to score, exactly as it would be sent, e.g. \"quick question about your site\"."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "chars": {
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fix": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "why": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "why",
      +          "fix"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "score": {
      +      "description": "Score out of 10.",
      +      "type": "number"
      +    },
      +    "subject": {
      +      "type": "string"
      +    },
      +    "toolUrl": {
      +      "description": "The same check as a free web tool on pipefire.ai.",
      +      "type": "string"
      +    },
      +    "verdict": {
      +      "type": "string"
      +    },
      +    "words": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "subject",
      +    "score",
      +    "verdict",
      +    "words",
      +    "chars",
      +    "findings",
      +    "toolUrl"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful detail that scoring is criteria-based and returns per-problem explanations with fixes, but it restates return content that the output schema already supplies and says nothing about limits or determinism of the 0-10 scale.

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 sentence, front-loaded with the action and score scale, followed by the criteria and the return contents. No filler or redundancy.

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 single-parameter, read-only scoring tool with full annotations and an output schema, the definition supplies everything needed to call it correctly. The only shortfall is the absence of any statement about when this is preferable to the broader cold-email check.

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?

There is a single required parameter with 100% schema description coverage, including a maxLength of 200 and a worked example, so the schema carries the semantic load. The description only restates "subject line" without adding format, length, or validation meaning beyond that.

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 opens with a concrete verb and resource, "Score a cold email subject line out of 10," and enumerates the dimensions checked (length, wording that hurts opens, spam triggers). It clearly separates itself from broader siblings like check_cold_email by scoping to subject lines only, though it never names that sibling explicitly.

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?

Usage is implied rather than stated: an agent can infer this runs per subject line while drafting a cold email. There is no explicit when-to-use or when-not guidance and no named alternative such as check_cold_email for whole-email review, leaving routing to inference.

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.