Skip to main content
Glama

Look up Bulma classes

lookup_bulma_classes
Read-onlyIdempotent

Map Bulma class strings to Bestax React component props for accurate markup. Call before writing classes by hand or converting existing Bulma markup.

Instructions

The bestax component and props for a Bulma class string, one row per class: "button is-primary", "columns is-mobile", "has-text-centered mt-4". Call this BEFORE writing a Bulma class by hand, and when converting existing Bulma markup. Pass the tag the classes sit on when there is one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoThe lowercase tag the classes are on, e.g. "a" or "h2"
classesYesThe class string, e.g. "button is-primary is-large"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds value beyond them by disclosing the return shape ('one row per class'), which matters since there is no output schema, and by flagging the optional tag pass-through.

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

Conciseness4/5

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

Front-loaded with the core behavior, then usage, then the tag hint; every sentence carries information. The inline class-string examples aid selection but make it slightly longer than strictly needed.

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 two-parameter read-only lookup with a fully documented schema and annotations, the description supplies the missing return-format cue and the usage trigger. Nothing essential for correct invocation appears absent, though the row/field shape is only gestured at.

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 both parameters (tag, classes) are already documented with format and examples in the schema. The description's 'pass the tag the classes sit on when there is one' hints that tag is contextually optional, but adds little beyond the schema baseline.

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: maps a Bulma class string to its bestax component and props, one row per class. The concrete examples ('button is-primary', 'columns is-mobile') and the class-string framing distinguish it from sibling lookups like get_component and get_props.

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 explicit when-to-use guidance: call BEFORE hand-writing a Bulma class, and when converting existing markup, plus to pass the tag when one exists. It does not name an alternative tool or state when not to use it, so it stops short of a 5.

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