Skip to main content
Glama

list_components

Read-onlyIdempotent

Lists the components a component layer can use—M3 Expressive kit and project components—with their animatable props, plus a tag's full prop schema and any load error.

Instructions

List the components a "component" layer can use (props.tag): the M3 Expressive kit and the project's own (components//, source "project"), with their animatable props. Give a tag for its full prop schema (and a project component's source and files); set props through attrs{} or "attr:" and keyframe "attr:". A project component that does not load is listed with its error.

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

Input Schema

NameRequiredDescriptionDefault
tagNoe.g. m3e-button

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive behavior, so the bar is lower, and the description still adds real context: results include animatable props, project components expose source and files, and a component that fails to load is returned with its error rather than omitted. That error-surfacing behavior is exactly the kind of trait an agent needs and cannot get from annotations.

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

Conciseness3/5

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

The purpose is front-loaded and no sentence is filler, but the prose is dense and jargon-heavy ("props.tag", "attrs{}", "attr:<prop>", "keyframe") with nested parentheses, so an unfamiliar agent has to parse it more than once. It could be split into clearer sentences covering listing, tagged lookup, and error behavior.

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-param, read-only listing tool with no output schema, the description covers the important ground: what is returned (components with animatable props), what the tag mode adds (prop schema, source, files), and how failures appear. Missing only edge details such as unknown-tag behavior and result ordering.

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 the single param already carries an example, so the baseline is 3. The description does add mode-switching meaning beyond the schema (omitting tag lists everything; supplying one returns the full prop schema plus source and files), but it does not clarify tag syntax, matching rules, or failure behavior for an unknown tag.

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?

States a specific verb and resource: list the components a "component" layer can use, scoped to the M3 Expressive kit plus the project's own components under components/<tag>/. That scope is distinctive enough that an agent can distinguish it from generic list_* siblings, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description explains the two call modes well: call without a tag to enumerate components and their animatable props, call with a tag to get the full prop schema (plus source and files for project components). It never says when to prefer this over another listing tool or states prerequisites/exclusions, so usage is implied rather than guided.

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

Deploy Server

Other Tools