Skip to main content
Glama

Get the site check

struq_controle
Read-onlyIdempotent

The check an agent runs locally on its own work; Struq never reads project code and returns no score. It returns the AI-tell list (em and en dashes, eyebrows, pills, gradient text and glow, mono on marketing, Inter and other default faces, default purple or blue, numbered steps, icon grids, notes to the client and stand-ins such as Your Name or example.com, and more) and the consistency rules of the register, each with regex detectors, plus the procedure and the fix order. For a marketing site (the default) it adds the film rules and the commands that run the film check on the storyboard and on the built page, links to anchors that do not exist included. The film check runs from six files in .struq/film/ (the check module, the hand check, the film fields of the blocks as JSON, a short node runner, and the gates with their source stamp); files true returns those files alone, once per project, and every other answer leaves them out. stage look returns the rendered check (.struq/film/look.mjs: the served build at 390 and 1440, blank screens, contrast over photos, clipped descenders, broken numbers, missing fonts, errors) and the brief for a fresh art director, with the steps; ask for it once per project. The site answer of a marketing site carries GATES: the verdict on look (the contents of .struq/look.json) and art_direction (the contents of .struq/art-direction.md, every ask answered Built: or Refused:) sent with the call, the same rules as the skill, and it fails while either is missing; send both before calling the work done. stage plan returns the film rules alone, for the storyboard before any block is fetched; with hand (the id of the Hand: line in STRUQ.md) it also returns that hand as .struq/film/hand.json, so the plan check fails a Language, Palette, Type, Opening or Centerpiece outside it (off-draw). register app returns the tells and the app rules without the film check.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "struq_controle"
  }
}

Input Schema

NameRequiredDescriptionDefault
handNoThe hand id from the Hand: line of STRUQ.md. With stage plan the answer carries that hand as .struq/film/hand.json, so the plan check holds the Language, Palette, Type, Opening and Centerpiece lines to it (off-draw). Pass it whenever STRUQ.md has a Hand line.
lookNoThe contents of .struq/look.json exactly as look.mjs wrote it (a report, not code). Send it with art_direction on the site check before calling the work done; without it the GATES verdict fails.
filesNotrue returns only the six film check files to write into .struq/film/ (the check module, the hand check, the blocks' film fields as JSON, a node runner, the gates and their source stamp), about 65,000 characters. Ask once per project, when .struq/film/ does not hold them yet; every other call omits it. Ignored for register app.
stageNosite (the default) once the site is built: tells, rules, the page check and the GATES verdict on look and art_direction. plan once the treatment is written in STRUQ.md and before any block is fetched: only the film check, to run on the storyboard. look once the page check passes: the rendered check (.struq/film/look.mjs, about 60,000 characters) and the art director's brief, with the steps that run them; ask once per project. Ignored for register app.
registerNomarketing (the default) for a site or landing page: the cinematic register the blocks are built in, with the film check. app for an app or dashboard: adds the weight ladder, the 120-220ms motion band and the single spacing scale, and drops the film check. Infer it from the project instead of asking.
art_directionNoThe contents of .struq/art-direction.md: the fresh art director's numbered asks, each answered Built: <what changed> or Refused: <reason>. Send it with look on the site check before calling the work done; without it the GATES verdict fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well past them: it says Struq never reads project code, that it returns no score, that `files` yields roughly 65,000 characters once per project, that `look` yields the rendered check plus an art director brief roughly 60,000 characters, and that the GATES verdict fails while look or art_direction is missing. These are real behavioral constraints an agent could not get from annotations.

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?

It is a single run-on block that describes the `files` set, the `look` stage and the GATES requirement more than once, and it front-loads an abstract framing sentence before the actionable mode guidance. The information is valuable, but the agent must parse it repeatedly. Restructuring into per-stage bullets would materially improve scanability.

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?

With no output schema, the description carries the burden of explaining returns, and it does so thoroughly across all three stages and both registers, including file names, sizes and failure conditions. What is missing is a concrete statement of the response structure (e.g. named fields carrying the tells, rules and gates), so an agent cannot fully predict the shape of the answer.

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% and the schema's parameter descriptions are as detailed as the prose, so the description adds little beyond restating them. The one genuinely additive note is the failure condition tying `look` and `art_direction` to the GATES verdict, which the schema also carries. Baseline 3 applies.

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?

The opening sentence is specific: a local, self-run check that returns the AI-tell list, register consistency rules with regex detectors, the procedure and the fix order, and explicitly states Struq never reads project code and returns no score. It is clearly a different resource from the sibling asset/block tools. It loses a point only because the purpose is buried under a dense narrative that never states the response shape plainly.

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?

Guidance is unusually explicit: 'site (the default) once the site is built', 'plan ... before any block is fetched', 'look once the page check passes', 'files true ... ask once per project, when .struq/film/ does not hold them yet', and 'send both before calling the work done'. The enum schema reinforces each mode's condition. It does not contrast against sibling tools, but the per-mode conditions and once-per-project limits are clear enough without that.

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