Skip to main content
Glama

get_rules

The runtime rules for this catalog — the mistakes that make native Liquid Glass render blank with no warning, no error and no red box. Pass a slug to scope them to one component. Read these before writing animation or layout code against any glass component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNooptional — omit for catalog-wide rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully warns that violations produce silent blank rendering, which is important behavioral context, and notes scoping behavior via slug. However, it does not explicitly state whether the operation is read-only, what the response structure is, or whether any side effects occur, leaving some gaps.

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

Conciseness5/5

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

The description is compact and every sentence adds value: the first defines the resource, the second explains scoping, and the third gives a direct usage directive. It is front-loaded with the most important consequence, silent failure, making it easy for an agent to grasp quickly.

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 tool with one optional parameter and no output schema, the description is reasonably complete: it states what rules are, why they matter, how to scope them, and when to consult them. It does not describe the return format, but the nature of the resource is simple enough that an agent can infer a list or collection of rule descriptions.

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%, so the schema already fully documents the slug parameter as optional and catalog-wide by default. The description adds only a slight semantic nuance by saying the slug 'scopes them to one component,' but it largely repeats existing schema meaning. Baseline 3 is appropriate.

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 description clearly identifies the tool's resource as 'runtime rules for this catalog' and defines them concretely as 'the mistakes that make native Liquid Glass render blank with no warning, no error and no red box.' This goes beyond a generic 'get rules' phrasing and gives the agent a specific sense of what the tool returns, though it does not explicitly differentiate it from sibling tools.

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?

The description gives a clear imperative: 'Read these before writing animation or layout code against any glass component.' It also explains the optional slug parameter's purpose, saying users can 'Pass a slug to scope them to one component.' It lacks explicit when-not-to-use guidance, but the timing instruction is strong enough to guide tool selection.

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