Skip to main content
Glama

Check a headline

analyze_headline
Read-onlyIdempotent

Check a headline or page title: its length in characters and in Google's pixels, whether a keyword is in it and how early, and form problems such as all capitals or superlatives, each as a fix or an improvement. Answers from what you send alone: nothing is fetched or stored.

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": {
      "headline": "<headline>"
    },
    "name": "analyze_headline"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordNoKeyword it should rank for Optional.
headlineYesHeadline or title

Output Schema

NameRequiredDescriptionDefault
toolYes
toolUrlYes

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 declare readOnly, idempotent, closed-world, and non-destructive, so the safety burden is light. The description still adds real behavioral value: "Answers from what you send alone: nothing is fetched or stored" confirms pure local evaluation and reassures the agent that a URL or crawl is not triggered. It also signals the output is classified into fixes versus improvements, which is context the annotations do not carry.

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 sentences, both front-loaded: the first lists the checks in a scannable colon-delimited sequence, the second states the key constraint. No filler, no repetition of the title, and the no-fetch caveat is placed last where it belongs.

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?

With an output schema present, the description need not explain return values, and it correctly covers inputs, scope, and the no-side-effects guarantee. The only shortfall is the absence of sibling disambiguation for a tool family crowded with similarly named checks, which matters for a tool this cheap to call.

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%, so the two parameters are already documented and a baseline of 3 would be defensible. The description earns one more point by explaining what the optional keyword actually does — it is checked for presence and earliness in the headline — which goes beyond the schema's terse "Keyword it should rank for."

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 specific verb and resource ("Check a headline or page title") and then enumerates exactly what is measured: character length, Google pixel width, keyword presence and position, and form issues like all caps or superlatives. That is far more than a restatement of the name. It stops short of a 5 because it never distinguishes itself from near-neighbors such as check_show_hn_title or check_headings, leaving an agent to infer the boundary.

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?

Use is implied by "Check a headline or page title," and the closing line quietly tells the agent it can pass raw text rather than a URL. However, there is no explicit when-to-use/when-not-to-use statement and no pointer to an alternative for related checks (headings, HN titles), so the routing guidance is only implicit.

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