Skip to main content
Glama

WritersLogic business agents

syllable-count

Syllable counts per line, caller dictionary first, labelled English heuristic second — Counts syllables per word and per line for English text, using your dictionary entries first and otherwise a rule-based estimator (vowel groups, silent e, -ed/-es, consonant+le). Optionally checks each line against a target pattern such as 5-7-5. Where the rules cannot decide (vowel pairs like ia/io/eo, acronyms, numerals, non-Latin scripts) the word is a range or abstains, and a line whose count

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": {
      "lines": "<lines>"
    },
    "name": "syllable-count"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYes
patternNoSame length as lines.
dictionaryNoCaller counts; they override the rules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description itself supplies meaningful behavior: dictionary precedence, concrete heuristic rules, and range-or-abstain outcomes for ambiguous words. The unfinished final clause leaves line-level uncertainty behavior unknown, so the otherwise substantial disclosure is incomplete.

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 opening is front-loaded but duplicates the following sentence, and the heuristic rule list is dense. Most seriously, the text ends mid-sentence after "and a line whose count", which is a structural defect rather than useful brevity.

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

Completeness2/5

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

The rich input schema makes invocation mostly possible, but there is no output schema and the description is cut off while explaining line-level results. Consequently, uncertainty propagation, pattern-check result representation, and result labeling are not fully specified.

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?

The schema already documents positional pattern targets and dictionary overrides, so repeating that precedence adds little. The English-text scope and concrete 5-7-5 example add some useful meaning, but the description does not substantially expand the remaining input semantics.

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

Purpose5/5

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

The description gives a specific operation and scope: counting syllables per word and per line for English text, with dictionary overrides and optional target-pattern checks. The English-only, word/line scope and named heuristic make the tool's function unambiguous.

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

Usage Guidelines4/5

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

It clearly targets English text and illustrates when pattern checking is useful with the 5-7-5 example, while caller dictionary entries take precedence when available. It does not provide explicit when-not guidance or name an alternative, so it falls short of exhaustive usage guidance.

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