Skip to main content
Glama

Get Product Principles

get_rules

Retrieve the project’s product and design principles before making layout or information architecture decisions, so UI choices follow accessibility, navigation, and error-prevention rules.

Instructions

ALWAYS call this before making layout or information architecture decisions. Returns all product and design principles for this project: progressive disclosure, primary-action rules, error prevention, copy-driven UI, keyboard navigation, and accessibility.

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": "get_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does signal a read ("Returns") with no mutation implied, plus a preview of the returned subject matter. It omits any note on response structure, grouping, or whether the full set is always returned versus filtered by context, which is the remaining gap for an unannotated tool.

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?

Two sentences, zero waste: the imperative call-before directive is front-loaded, and the second sentence lists exactly what comes back. No repetition of the title or restating the name.

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 zero-parameter read tool with no output schema, the description covers what an agent needs: when to call it and what content to expect. It could be slightly more complete by indicating how the principles are organized in the response (flat list vs. grouped by the named areas), but nothing essential to correct invocation is missing.

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?

The schema has zero properties, so there are no parameter semantics to add and the baseline of 4 applies. The description correctly does not invent arguments and instead spends its words on output content.

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 ("Returns all product and design principles for this project") and then enumerates the principle areas covered — progressive disclosure, primary-action rules, error prevention, copy-driven UI, keyboard navigation, accessibility. That enumeration makes it distinguishable from sibling readers like get_copy_rules and get_design_system without opening a 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?

Gives an explicit, strong usage trigger: "ALWAYS call this before making layout or information architecture decisions." That is a clear when-to-use rule with a named decision context. It stops short of the top score because it never states when NOT to use it or which sibling to prefer for adjacent needs (e.g. copy rules vs. product principles), even though the listed topics plausibly overlap with get_copy_rules.

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