Skip to main content
Glama

Get helper props

get_helper_props
Read-onlyIdempotent

Retrieve valid Bestax helper props and values for spacing, color, typography, flexbox, and visibility before using inline styles or utility classes.

Instructions

The helper props bestax components accept (spacing, colour, typography, flexbox, visibility) and their valid values. Most components take them, so check one with get_props before passing a helper. Call this BEFORE writing an inline style or a utility class by hand; this library expects those to be props.

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_helper_props"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoFilter to one area, e.g. "spacing", "flex", "color"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this as a safe, idempotent, closed-world read, so the safety profile is covered. The description adds useful non-annotated context: that these props are broadly supported across components and that the library's convention is to express styling as props rather than inline styles. It stops short of describing the shape of the returned reference data, but that is a minor gap for a lookup 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?

Three short sentences: what it returns, the prerequisite check, and the action guardrail. Each sentence carries distinct information with no repetition of the title or 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 one-optional-parameter reference lookup with no output schema, the description covers what is returned (props and their valid values), which components support them, and how to use the result correctly. The only missing element is any indication of the return structure or the available group filter values, which would help an agent call it more precisely.

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 single optional 'group' parameter is documented with example values in the schema itself. The description never mentions filtering by group, so it adds no meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

The description names the specific resource (the helper props bestax components accept), enumerates the prop families covered (spacing, colour, typography, flexbox, visibility) and states it returns their valid values. It also distinguishes itself from the sibling get_props, which is described as the component-specific lookup, so an agent can tell the two apart 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 Guidelines5/5

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

It gives explicit timing and exclusions: call this BEFORE writing an inline style or a utility class by hand, and check a component with get_props before passing a helper. That is a clear when-to-use, when-not-to-use (don't hand-roll styles) and a named alternative, leaving little to inference.

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