Skip to main content
Glama

Style flags

style_flags
Read-only

Flags passive voice, repeated sentence openings, filler words, and long sentences in essay drafts, with optional sentence-length limits to help writers target revisions.

Instructions

Flag common style problems in an essay: sentences in the passive voice, sentences that start with the same word as a neighbour (or three or more times), filler words and phrases such as very, just, in order to, and sentences that are too long. Inputs: text, and optional max_sentence_words (default 30), the length above which a sentence counts as long. Sentence numbers start at 1 and follow the order of the text, so number 3 is the third sentence. The sentence_list field gives each passive or long sentence with its number, and the text summary ends with a line listing those numbers. The checks are simple pattern rules, so treat them as prompts to reread, not as errors. Example: "Flag passive voice and filler words in my draft.

Input Schema

NameRequiredDescriptionDefault
textYes
max_sentence_wordsNoSentence length that counts as long. Default 30.

Output Schema

NameRequiredDescriptionDefault
fillerYes
sentencesYes
filler_countYes
passive_countYes
sentence_listYes
long_sentencesYes
repeated_openersYes
passive_sentencesYes
max_sentence_wordsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint=false, and the description adds real behavioral context beyond that: the checks are simple pattern rules with false-positive risk, and the summary output ends with a line listing flagged sentence numbers. Partially overlaps with the output schema, but the caveat about rule-based imprecision is valuable and not encoded anywhere else.

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?

Front-loaded with purpose and checks, then inputs, then output shape, then caveat — a sensible order. Slightly over-explains the sentence-numbering mechanics and the summary line, which is close to duplicating the output schema.

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?

Given an output schema already exists, the description covers everything an agent needs: purpose, inputs with defaults, numbering convention, and the reliability caveat. Little is missing for a two-parameter read-only analysis tool.

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 only 50%, but the description compensates: it explains that max_sentence_words is optional with a default of 30 and defines its meaning as 'the length above which a sentence counts as long'. It also names both inputs up front, leaving no ambiguity about what 'text' should contain.

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?

States a specific verb and resource ('Flag common style problems in an essay') and then enumerates the exact checks: passive voice, repeated sentence openers, filler words, overlong sentences. This is clearly distinguishable from siblings like readability_scores or word_frequency, which measure rather than flag.

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?

Provides an interpretive directive ('treat them as prompts to reread, not as errors') plus a concrete invocation example ('Flag passive voice and filler words in my draft'). It does not explicitly name when to prefer readability_scores or check_word_limit instead, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.