Skip to main content
Glama
This connector has been deprecated

Replaced by Struq MCP.

Struq moved to struq.app. The same server now lives at app.struq/struq, https://struq.app/api/mcp.

Get a block

struq_blok
Read-onlyIdempotent

One admitted block as files ready for components/struq/: the block, every kit file and helper it imports (relative paths, so the folder works as is), blocks.css trimmed to the kit base plus this block's rules, the npm packages, the props, the variant ids and a usage example. States how to use it by role: a frame, opening or centerpiece block is written verbatim; a pattern block is a worked example the client may adapt to its storyboard, with the kit files kept verbatim. Also states the chosen variant's energy and pinned screens, so the page can hold its budget. The slug may also name a kit quiet scene (Statement, PhotoText, Rows, Close, or quiet for all four): it returns the scene files for components/struq/kit/quiet/ with every kit file they import, blocks.css, the packages, and per scene its props and a usage example; kit scenes are quiet by definition (energy 1) and written exactly as returned. The slug may also name a subject piece (Document, AppScreen, Ticket, PatternPaper, SectionDrawing, or subject for all of them): it returns the files for components/struq/kit/subject/ with every kit file they import, blocks.css, the packages, and per piece its props and a usage example, written exactly as returned and filled with the client's own data. The slug may also name a motion primitive (RevealText, Rise, MaskWipe, ImageCurtain, HoverLink, Pressable, ScrubLine, or motion for all of them): it returns the files for components/struq/kit/motion/ with the feel tokens (kit/feel.ts) and every kit file they import, blocks.css, the packages, and per primitive its props and a usage example, written exactly as returned. The slug may also name a middle scene (ServicesList, ProcessStrip, PlaceHours, or middle for all of them): it returns the files for components/struq/kit/middle/ with every kit file they import, blocks.css, the packages, and per scene its props and a usage example, written exactly as returned; the variant is a prop of the scene, not this tool's variant.

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": {
      "slug": "<slug>"
    },
    "name": "struq_blok"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesA block slug from struq_blokken, or a kit quiet scene: Statement, PhotoText, Rows or Close, or quiet for all four.
variantNoOne of the block's variant ids from struq_blokken. Omit for its first, the default. Kit scenes have none.

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?

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the safety profile is covered; the description adds real context beyond that: relative paths so the folder works as is, blocks.css trimmed to kit base plus this block's rules, and the variant's energy and pinned screens so a page can hold its budget. The verbatim-vs-adapt rules for pattern blocks and the exactness of kit scenes are genuinely behavioral. It does not describe volume or size of the returned file set, which for a file-dump tool would help.

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

Conciseness3/5

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

It is front-loaded with the primary behavior and the role-based usage rule comes early, which is correct. But it is one dense paragraph with heavy repetition of the same return manifest ('with every kit file they import, blocks.css, the packages, and per piece its props and a usage example') across five slug families. A short list of modes would convey the same content in half the space.

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: file layout, what's included, and per-entity props and usage examples. Combined with annotations covering the safety profile, an agent has what it needs to call this correctly. The remaining gap is a lack of any expectation about response size for the 'all four / all of them' aggregate cases.

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 the baseline is 3, and the description goes well beyond: it tells the agent that slug may be a block slug, a quiet scene (or 'quiet' for all four), a subject piece, a motion primitive, or a middle scene, and it explains variant is the block's variant id and does not apply to kit scenes. The prose is the only place these slug families are spelled out, which is a meaningful addition; the schema's own slug description mentions only blocks and quiet scenes.

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 clause is specific: it returns "One admitted block as files ready for components/struq/" and enumerates what's bundled (block, imported kit files, trimmed blocks.css, packages, props, variant ids, usage example). It is distinguishable from struq_blokken (which supplies slugs, referenced in the schema) and from asset tools. The only clarity cost is that slug overloads five entity kinds, which blurs the single-resource framing, but each is named.

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

Usage Guidelines3/5

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

It gives strong guidance on how to use the RETURNED content by role (frame/opening/centerpiece written verbatim vs pattern blocks adapted to a storyboard), and notes the variant is a prop for middle scenes. However, it never says when to call this rather than a sibling such as struq_blokken or struq_get_asset; the prerequisite (slug must come from struq_blokken) appears only in the schema.

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