Skip to main content
Glama

cavalry_list_attributes

List all attributes of a given layer with type, display name, children, and animated flag. Prevents silent write failures from incorrect attribute paths.

Instructions

List every attribute on a layer with its type, nice name, children and animated flag. Use this INSTEAD of guessing attribute paths — attribute names are not derivable from the UI labels in Cavalry's docs, and a wrong path fails silently on write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerIdYesLayer ID (e.g. 'textShape#1')
includeValuesNoAlso read each attribute's current value (slower)
Behavior3/5

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

No annotations provided, so description must disclose behavioral traits. It implies read-only behavior but does not explicitly state it. The warning about silent failures on write is useful but relates to other tools, not this tool's own behavior. An explicit 'read-only' statement would improve transparency.

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?

Two concise sentences: the first states the tool's core function, the second provides essential usage advice. No wasted words. Every sentence earns its place.

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?

Given no output schema, the description provides a reasonable summary of return values (attribute properties). It also explains the includeValues parameter's effect. Could optionally mention whether the result is a flat list or nested, but not essential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers both parameters with descriptions (100% coverage). The description adds semantic context by explaining what attributes are returned (type, nice name, children, animated flag), which is not in the schema. This helps the agent understand the output meaning.

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?

Clearly states it lists attributes on a layer with specific properties (type, nice name, children, animated flag). While it distinguishes from guessing paths, it doesn't explicitly contrast with sibling tools like cavalry_get_attribute, though the verb 'list' vs 'get' is implicit.

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?

Explicitly advises using this tool instead of guessing attribute paths, with a concrete justification (attribute names not derivable from UI labels, silent failure on write). Provides clear when-to-use guidance but lacks when-not-to-use or alternatives.

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/ZHUYUFAN3-33/cavalry-mcp'

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