Skip to main content
Glama

humanize-comment

Draft + Context + Guidance → 5 writers (Qwen3.8 Novelist/friend, DeepSeek V4.1 Flash/forum, Gemma-4-12B Starry Ocean/peer (was Cydonia-24B v4.3 until its 2026-11-18 delisting; Starry Ocean was the … text:Draft -> text:Context -> text:Guidance -> join:Context+Guidance -> join:Writer input -> join:Judge: context+original -> llm:Writer A (Qwen3.8-27B Novelist, voice: friend) -> llm:Writer B (DeepSeek V4.1 Flash 1017, voice: forum) -> llm:Writer C (Gemma-4-12B Starry Ocean, voice: peer) -> llm:Writer D (Qwen3.8-27B antislop, voice: plain) -> llm:Writer E (Hy4 Flash, voice: quick) -> join:Judge: +A -> join:Judge: +B -> join:Judge: +C -> join:Judge: +D -> join:Judge: +E -> llm:Decider (GLM-5.3); returns text. Runs on NanoGPT — a deposit is quoted for each request from its length and maxChars and caps what the customer pays; it settles at the lesser of the metered cost plus 20% and that deposit, and any difference is returned; the operator absorbs any overrun. When a writer's fallback model runs, both calls are charged. This refund and cap apply to hosted payments. Direct-wallet spending has no cap.

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": {
      "Draft": "<Draft>",
      "Context": "<Context>"
    },
    "name": "humanize-comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
keepNoOptional array of up to 8 verbatim strings, each at most 500 characters. Every occurrence in the draft is replaced with a placeholder before rewriting and restored afterward. The placeholder draft must stay within the draft cap. Overlapping matches are protected together. A rewrite that drops, duplicates, or changes protected text is rejected.
DraftYes* required; Text; at most 1500 characters
titleNooptional; when true, writers are asked for one title line rather than a comment; paragraph-length replies are rejected and that writer is asked once more. Default false: a short draft is not treated as a title on its own.
endingNooptional; where the rewrite must end. "question" ends with a question. "keep_last" ends with the last keep span, or with the draft's final sentence when keep is omitted. "any" leaves the ending free. default: "any"any
ContextYes* required; Text; at most 3500 characters
GuidanceNoText; default: "a friendly, specific reply"; optional; at most 600 characters; a leading one-thread prefix ("One thread: ONE main point, each sentence follows the last, 2-4 sentences <450 chars, <=1 hash/address, <=1 question at end, no 'Catch:' labels.") is not counted
maxCharsNooptional; hard cap on the rewrite length in characters (1 to 5000). Every copy of a keep span counts toward the cap. Over-length rewrites are rejected and that writer is asked once more.
_payment_idNoPayment id from this tool's previous payment-required response. Phase 3 only: after /x402/watch closes with status paid, call again with the same arguments plus this id to open the RESULTS stream. Do not pass it while payment is still pending — monitor the watch SSE first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / keep / description
      Previous value: -"optional; verbatim spans (a joke, a closing line) that must survive exactly. Each span is swapped for a placeholder before the rewrite and put back after. Every match in the draft counts, and the placeholder draft must stay within the draft cap. Overlapping keeps are protected together so each one survives. A rewrite that drops, duplicates, or changes a span is rejected. At most 8 spans, each at most 500 characters."New value: +"Optional array of up to 8 verbatim strings, each at most 500 characters. Every occurrence in the draft is replaced with a placeholder before rewriting and restored afterward. The placeholder draft must stay within the draft cap. Overlapping matches are protected together. A rewrite that drops, duplicates, or changes protected text is rejected."
    • addedInput schema / properties / keep / items / maxLength
      Added value: +500
  2. Changed1 schema field changed
    • changedInput schema / properties / title / description
      Previous value: -"optional; when true, a paragraph-length rewrite is rejected and that writer is asked once more. Default false: a short draft is not treated as a title on its own."New value: +"optional; when true, writers are asked for one title line rather than a comment; paragraph-length replies are rejected and that writer is asked once more. Default false: a short draft is not treated as a title on its own."
  3. Changed6 schema fields changed
    • changedInput schema / properties / Guidance / description
      Previous value: -"Text; default: \"a friendly, specific reply\"; optional; at most 300 characters"New value: +"Text; default: \"a friendly, specific reply\"; optional; at most 600 characters; a leading one-thread prefix (\"One thread: ONE main point, each sentence follows the last, 2-4 sentences <450 chars, <=1 hash/address, <=1 question at end, no 'Catch:' labels.\") is not counted"
    • changedInput schema / properties / Guidance / maxLength
      Previous value: -300New value: +745
    • addedInput schema / properties / ending
      Added value: +{
      +  "default": "any",
      +  "description": "optional; where the rewrite must end. \"question\" ends with a question. \"keep_last\" ends with the last keep span, or with the draft's final sentence when keep is omitted. \"any\" leaves the ending free. default: \"any\"",
      +  "enum": [
      +    "question",
      +    "keep_last",
      +    "any"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / keep
      Added value: +{
      +  "description": "optional; verbatim spans (a joke, a closing line) that must survive exactly. Each span is swapped for a placeholder before the rewrite and put back after. Every match in the draft counts, and the placeholder draft must stay within the draft cap. Overlapping keeps are protected together so each one survives. A rewrite that drops, duplicates, or changes a span is rejected. At most 8 spans, each at most 500 characters.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 8,
      +  "type": "array"
      +}
    • addedInput schema / properties / maxChars
      Added value: +{
      +  "description": "optional; hard cap on the rewrite length in characters (1 to 5000). Every copy of a keep span counts toward the cap. Over-length rewrites are rejected and that writer is asked once more.",
      +  "maximum": 5000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "default": false,
      +  "description": "optional; when true, a paragraph-length rewrite is rejected and that writer is asked once more. Default false: a short draft is not treated as a title on its own.",
      +  "type": "boolean"
      +}
  4. Changed6 schema fields changed
    • changedInput schema / properties / Context / description
      Previous value: -"* required; Text"New value: +"* required; Text; at most 3500 characters"
    • addedInput schema / properties / Context / maxLength
      Added value: +3500
    • changedInput schema / properties / Draft / description
      Previous value: -"* required; Text"New value: +"* required; Text; at most 1500 characters"
    • addedInput schema / properties / Draft / maxLength
      Added value: +1500
    • changedInput schema / properties / Guidance / description
      Previous value: -"Text; default: \"a friendly, specific reply\"; optional"New value: +"Text; default: \"a friendly, specific reply\"; optional; at most 300 characters"
    • addedInput schema / properties / Guidance / maxLength
      Added value: +300
  5. Added

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: a five-writer plus decider pipeline, deposit quoting from request length and maxChars, settlement at the lesser of metered cost plus 20% and the deposit, refund of the difference, operator-absorbed overruns, and double charging when a fallback model runs. That is genuinely useful. However, it omits operational traits an agent needs — latency/expected runtime, what failure or rejection of a writer means for the returned text, and reproducibility — and the refund/cap caveat applies only to hosted payments, which is stated but leaves the direct-wallet path undefined.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is not front-loaded: the first sentence is a truncated model roster with irrelevant provenance trivia ("was Cydonia-24B v4.3 until its 2026-11-18 delisting; Starry Ocean was the …") that cuts off mid-word. The long '->' graph chain consumes most of the space with join/llm node names that add little decision value for a caller, while the billing paragraph is crammed into the same block. Substantial trimming is needed.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter tool with no annotations and no output schema, the definition covers the pipeline and billing but leaves the successful return shape described only as "returns text" and does not explain how the _payment_id two-phase (payment-required, watch SSE, results stream) flow fits together — that detail lives in the schema. It is adequate but not complete for a tool this complex with a paid, multi-stage execution model.

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 coverage is 100%, so the baseline is 3. The description adds only marginal parameter meaning — it names Draft, Context, and Guidance as pipeline inputs and ties maxChars to the deposit quote — while key parameters like keep, ending, title, and _payment_id are fully explained in the schema, not the description. No additional semantics beyond the schema are supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a pipeline formula ("Draft + Context + Guidance → 5 writers ... -> llm:Decider (GLM-5.3); returns text"), which conveys that a draft is rewritten by multiple models and adjudicated, but it never states the core verb+resource plainly (e.g., "rewrites a draft comment"). A reader must infer from the tool name that 'humanize-comment' means producing a human-sounding comment; the description itself is a machinery dump rather than a purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus anything else, no prerequisites, and no exclusions. The only conditional language concerns payment mechanics (hosted vs direct-wallet) and fallback charging, not task selection. An agent gets no help deciding whether to call this at all.

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.