Skip to main content
Glama

Get Component Markup

bsi_get_component_markup
Read-only

Retrieves the HTML markup for a specific variant of a Bootstrap Italia component. Use it to obtain ready-to-use code for your interface.

Instructions

Returns the HTML markup for one specific variant of a Bootstrap Italia component. If variant is omitted returns the default (first) variant. Use bsi_list_component_variants to discover available names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
variantNoVariant name (e.g. "Base", "Tabella base"). Omit for the default (first) variant.
componentYesComponent name or slug (e.g. "accordion", "card")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
resultYes
variantYes
componentYes
Behavior3/5

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

With readOnlyHint annotation already declaring the tool as safe/read-only, the description adds the behavior of defaulting to the first variant when omitted. It does not disclose error handling, output format details, or any edge cases, but the annotation reduces the burden. This is consistent with a moderate score.

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 three sentences long, front-loaded with the core purpose, and every sentence adds value—returning markup, default behavior, and a pointer to a sibling tool. No fluff or redundancy.

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 simple read-only tool with only two parameters and an output schema present, the description is sufficiently complete. It clarifies the default variant behavior and how to discover variants. Slightly more detail on error cases or output structure could push it to 5, but the existing context is adequate.

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 both 'component' and 'variant' are well-documented in the schema. The description repeats the default-variant behavior already present in the schema, adding no additional parameter meaning. Baseline 3 applies here.

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 clearly states the verb 'Returns' and the resource 'HTML markup for one specific variant of a Bootstrap Italia component', making the tool's purpose unambiguous. It also distinguishes from the sibling tool by pointing to bsi_list_component_variants for discovering variant names, which sets it apart from listing 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 provides clear guidance on when to use this tool: for getting markup for a specific variant, and explicitly tells the user to use bsi_list_component_variants to discover available names. It lacks an explicit exclusion or comparison with devkit_get_component_markup, but the reference to the variant-discovery sibling covers the main alternative usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fupete/design-system-italia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server