Skip to main content
Glama
bladewell

bladewell

Get a component

get_component
Read-only

Fetches complete component documentation—Blade tags, props, slots, requirements, usage snippets, and examples—to help you write correct Laravel view code.

Instructions

Everything about one component: its Blade tags with every prop (default, required, what it does) and slot, its requirements, usage snippets (Livewire included) and working examples. Read it before writing the component into a view.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe component, e.g. "datepicker".
briefNoOnly the first example and the first usage snippet that isn't Livewire (often the controller the routes need); more-examples and more-usage list the rest, each with its title and first sentence. Props, slots and consider notes are always whole.
usageNoTitles of the usage snippets to give in full, e.g. ["Livewire"]; [] for none. Without it, all of them (the first that isn't Livewire with brief).
examplesNoTitles of the examples to give in full, e.g. ["Filters"]; [] for none. Without it, all of them (the first with brief).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.5.6
    • addedInput schema / properties / brief
      Added value: +{
      +  "default": false,
      +  "description": "Only the first example and the first usage snippet that isn't Livewire (often the controller the routes need); more-examples and more-usage list the rest, each with its title and first sentence. Props, slots and consider notes are always whole.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / examples
      Added value: +{
      +  "description": "Titles of the examples to give in full, e.g. [\"Filters\"]; [] for none. Without it, all of them (the first with brief).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / usage
      Added value: +{
      +  "description": "Titles of the usage snippets to give in full, e.g. [\"Livewire\"]; [] for none. Without it, all of them (the first that isn't Livewire with brief).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changedv1.5.2
    • changedInput schema / properties / name / enum
      Previous value: -[
      -  "accordion",
      -  "alert",
      -  "auth-layout",
      -  "breadcrumbs",
      -  "button",
      -  "captcha",
      -  "chat",
      -  "checkbox",
      -  "clock",
      -  "color-picker",
      -  "command",
      -  "date-range-picker",
      -  "datepicker",
      -  "dropdown",
      -  "field",
      -  "file-upload",
      -  "icon",
      -  "kanban",
      -  "modal",
      -  "number",
      -  "otp",
      -  "pagination",
      -  "password",
      -  "phone",
      -  "popover",
      -  "price-roll",
      -  "progress",
      -  "radio",
      -  "search",
      -  "select",
      -  "show-if",
      -  "sidebar-layout",
      -  "slider",
      -  "stepper",
      -  "switch",
      -  "table",
      -  "tabs",
      -  "tags",
      -  "text-input",
      -  "textarea",
      -  "time-picker",
      -  "toast",
      -  "tooltip",
      -  "tooltip-cursor",
      -  "tree",
      -  "verification-code"
      -]New value: +[
      +  "accordion",
      +  "alert",
      +  "auth-layout",
      +  "breadcrumbs",
      +  "button",
      +  "calendar",
      +  "captcha",
      +  "chat",
      +  "checkbox",
      +  "clock",
      +  "color-picker",
      +  "command",
      +  "date-range-picker",
      +  "datepicker",
      +  "dropdown",
      +  "field",
      +  "file-upload",
      +  "filter-builder",
      +  "icon",
      +  "image-cropper",
      +  "kanban",
      +  "modal",
      +  "number",
      +  "otp",
      +  "pagination",
      +  "password",
      +  "phone",
      +  "popover",
      +  "price-roll",
      +  "progress",
      +  "radio",
      +  "repeater",
      +  "search",
      +  "select",
      +  "show-if",
      +  "sidebar-layout",
      +  "slider",
      +  "sortable",
      +  "stepper",
      +  "switch",
      +  "table",
      +  "tabs",
      +  "tags",
      +  "text-input",
      +  "textarea",
      +  "time-picker",
      +  "toast",
      +  "tooltip",
      +  "tooltip-cursor",
      +  "tree",
      +  "verification-code"
      +]
  3. Changed1 schema field changedv1.4.4
    • changedInput schema / properties / name / enum
      Previous value: -[
      -  "accordion",
      -  "alert",
      -  "auth-layout",
      -  "breadcrumbs",
      -  "button",
      -  "captcha",
      -  "chat",
      -  "checkbox",
      -  "clock",
      -  "color-picker",
      -  "command",
      -  "date-range-picker",
      -  "datepicker",
      -  "dropdown",
      -  "field",
      -  "file-upload",
      -  "icon",
      -  "modal",
      -  "number",
      -  "otp",
      -  "pagination",
      -  "password",
      -  "phone",
      -  "popover",
      -  "price-roll",
      -  "progress",
      -  "radio",
      -  "search",
      -  "select",
      -  "show-if",
      -  "sidebar-layout",
      -  "slider",
      -  "stepper",
      -  "switch",
      -  "table",
      -  "tabs",
      -  "tags",
      -  "text-input",
      -  "textarea",
      -  "time-picker",
      -  "toast",
      -  "tooltip",
      -  "tooltip-cursor",
      -  "tree",
      -  "verification-code"
      -]New value: +[
      +  "accordion",
      +  "alert",
      +  "auth-layout",
      +  "breadcrumbs",
      +  "button",
      +  "captcha",
      +  "chat",
      +  "checkbox",
      +  "clock",
      +  "color-picker",
      +  "command",
      +  "date-range-picker",
      +  "datepicker",
      +  "dropdown",
      +  "field",
      +  "file-upload",
      +  "icon",
      +  "kanban",
      +  "modal",
      +  "number",
      +  "otp",
      +  "pagination",
      +  "password",
      +  "phone",
      +  "popover",
      +  "price-roll",
      +  "progress",
      +  "radio",
      +  "search",
      +  "select",
      +  "show-if",
      +  "sidebar-layout",
      +  "slider",
      +  "stepper",
      +  "switch",
      +  "table",
      +  "tabs",
      +  "tags",
      +  "text-input",
      +  "textarea",
      +  "time-picker",
      +  "toast",
      +  "tooltip",
      +  "tooltip-cursor",
      +  "tree",
      +  "verification-code"
      +]
  4. Changed1 schema field changedv1.4.0
    • changedInput schema / properties / name / enum
      Previous value: -[
      -  "accordion",
      -  "alert",
      -  "breadcrumbs",
      -  "button",
      -  "captcha",
      -  "checkbox",
      -  "clock",
      -  "color-picker",
      -  "command",
      -  "date-range-picker",
      -  "datepicker",
      -  "dropdown",
      -  "field",
      -  "file-upload",
      -  "icon",
      -  "modal",
      -  "number",
      -  "otp",
      -  "pagination",
      -  "password",
      -  "phone",
      -  "popover",
      -  "price-roll",
      -  "progress",
      -  "radio",
      -  "search",
      -  "select",
      -  "show-if",
      -  "slider",
      -  "stepper",
      -  "switch",
      -  "table",
      -  "tabs",
      -  "tags",
      -  "text-input",
      -  "textarea",
      -  "time-picker",
      -  "toast",
      -  "tooltip",
      -  "tooltip-cursor",
      -  "tree",
      -  "verification-code"
      -]New value: +[
      +  "accordion",
      +  "alert",
      +  "auth-layout",
      +  "breadcrumbs",
      +  "button",
      +  "captcha",
      +  "chat",
      +  "checkbox",
      +  "clock",
      +  "color-picker",
      +  "command",
      +  "date-range-picker",
      +  "datepicker",
      +  "dropdown",
      +  "field",
      +  "file-upload",
      +  "icon",
      +  "modal",
      +  "number",
      +  "otp",
      +  "pagination",
      +  "password",
      +  "phone",
      +  "popover",
      +  "price-roll",
      +  "progress",
      +  "radio",
      +  "search",
      +  "select",
      +  "show-if",
      +  "sidebar-layout",
      +  "slider",
      +  "stepper",
      +  "switch",
      +  "table",
      +  "tabs",
      +  "tags",
      +  "text-input",
      +  "textarea",
      +  "time-picker",
      +  "toast",
      +  "tooltip",
      +  "tooltip-cursor",
      +  "tree",
      +  "verification-code"
      +]
  5. First observedv1.3.2

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes further by detailing the shape of the returned documentation and, importantly, how brief/usage/examples alter the payload ('more-examples and more-usage list the rest, each with its title and first sentence. Props, slots and consider notes are always whole'). That truncation rule is exactly the kind of behavior an agent needs and cannot get from the annotations.

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?

Two sentences, front-loaded with the payload contents and closed with the call-to-action. The middle clause is dense but each element (props, slots, requirements, snippets, examples) earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-value burden and does so: it lists what the caller receives, explains the brief-mode reduction, and notes the more-examples/more-usage listings. The required name parameter is constrained by an enum, so no further input caveats are needed.

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 coverage is 100% and each of brief, usage, and examples already carries a detailed description with defaults and interaction rules. The prose adds no further parameter meaning, so the baseline 3 applies.

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 names a specific resource (one component) and enumerates exactly what is returned: Blade tags with every prop, slots, requirements, usage snippets, and working examples. That makes the scope unambiguous, though it never explicitly contrasts itself with list_components, leaving the agent to infer that this is the per-item detail fetch.

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 closing instruction 'Read it before writing the component into a view' gives a clear triggering condition for use. It stops short of naming alternatives or stating when not to use it, so it lands at clear-context rather than full routing guidance.

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