Skip to main content
Glama

ai_tone

Read-only

AI tone analyzer and rewriter — Analyze the tone of an email, message or post: primary and secondary tone, formality, warmth and assertiveness scores (0-100), sentiment, emotions, risk flags (passive-aggressive, condescending, hostile, defensive, vague, overly casual...) with exact flagged phrases and fixes, and how it will land with an optional audience. Add target= to get a fits-target verdict and a full rewrite in that tone. Workers AI. 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_tone"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesPer my last email, I already sent this. Please read it this time.
targetNooptional desired tone, e.g. friendly professional
audienceNooptional, e.g. client

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the bar is lower, yet the description still adds real context: the underlying provider (Workers AI), a per-call price and payment rail ($0.006 USDC on Base via x402), and the granular shape of the analysis including named risk flags and exact flagged phrases with fixes. The pricing and paid-endpoint disclosure is genuinely useful behavior an agent cannot get from the schema or annotations.

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?

Purpose is front-loaded in the opening clause and the payload of outputs follows in a single dense sentence with no filler. It is a long run-on with a parenthetical list and an ellipsis, which slightly hurts scannability, but every clause contributes information an agent would otherwise lack.

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 carries the full burden of describing returns, and it does so thoroughly: scores with their ranges (0-100), sentiment, emotions, enumerated risk categories, flagged phrases with fixes, audience-aware framing, and the optional rewrite. For a paid, single-purpose analysis tool, an agent has everything needed to decide, call, and interpret results.

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%, so the schema already documents all three parameters and the baseline is 3. The description does add marginal meaning for two of them — target yields a fits-target verdict plus a full rewrite, and audience changes how the text is predicted to land — but it never clarifies what text accepts beyond what the schema's example string implies.

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?

Specific verb+resource framing: "AI tone analyzer and rewriter" followed by a concrete enumeration of outputs (primary/secondary tone, formality, warmth, assertiveness, sentiment, risk flags, rewrite). It clearly delineates this from adjacent tools like ai_grammar or ai_moderate by emphasizing tone scoring and tone-targeted rewriting, though it never names a sibling to make the boundary 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?

Usage guidance is embedded rather than stated: "Add target= to get a fits-target verdict and a full rewrite in that tone" tells the agent when the target parameter is worth supplying, and "how it will land with an optional audience" implies the audience param. But there is no when-not-to-use guidance and no route to alternatives — an agent cannot tell from this text whether ai_grammar, ai_reply_suggest, or ai_moderate would be the better pick for an overlapping request.

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