Skip to main content
Glama

QuassLabs API

story_lint

Deterministic structural quality linter for user stories - a sibling to ticket_lint but scoped to story-writing concepts any team recognizes: narrative completeness (As-a/I-want-to/So-that/Summary), acceptance criteria presence, duplicate/unknown dependency IDs, a "Manage X" story with no CRUD split, list stories missing a pagination mention. An OPTIONAL rate_config unlocks team-specific checks (screen-vs-narrative match, hour-rate-per-screen tolerance, required risk level by story type, milestone-code format, required companion story types per milestone) - omit it and only the universal checks run. No house rates or milestone conventions are hardcoded. POST one story or a batch (max 50). Deterministic, no LLM.

Input Schema

NameRequiredDescriptionDefault
storyNoOne story: {id, title, story: {as_a, i_want_to, so_that, summary, type_label?, on_screen?}, acceptance_criteria, dependencies?: [id], screen?, hours?: {<field>: number}, risk?, milestone_code?}. Missing fields ARE findings.
storiesNoAlternative: batch of up to 50 stories. Dependency/duplicate/required-companion checks are evaluated across the whole batch.
rate_configNoOptional. Enables team-specific checks, all off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses determinism ("no LLM"), that no house rates or milestone conventions are hardcoded, that all team checks default off, the 50-story batch cap, and that "missing fields ARE findings." The remaining gap is return-value shape — no output schema exists and the description never says what a finding looks like.

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 sibling disambiguation, then the optional-config switch, then limits. The long parenthetical enumeration of team-specific checks is dense but each item maps to a real config field, so it earns its space; it could be split into shorter sentences for scannability.

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?

For a 3-parameter tool with heavy nesting and no output schema, the description covers modes, limits, and scoping well. The one missing piece is the shape of the lint findings, which an agent would need to interpret results since no output schema documents it.

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 baseline is 3, but the description adds real semantic value: it explains that rate_config is optional and that omitting it disables all team-specific checks, and it names the five check families the nested config unlocks. It adds the cross-batch evaluation rule for dependencies and companion types.

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+resource ("deterministic structural quality linter for user stories") and enumerates the exact concepts checked (narrative completeness, acceptance criteria, dependency IDs, CRUD split, pagination). It explicitly positions itself relative to the sibling ticket_lint, so an agent can distinguish the two without opening either schema.

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?

Clearly signals two modes: omit rate_config and only universal checks run, or supply it for team-specific checks. It also states batch max of 50 and that dependency/companion checks are cross-batch. It does not address overlap with other quality siblings like acceptance_criteria_validator or dependency_check, leaving the routing decision partly 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