get_element_css_properties
Get the CSS custom properties for a specific EOxElements custom element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | The tag name of the element. |
Get the CSS custom properties for a specific EOxElements custom element.
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | The tag name of the element. |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states 'Get', implying a read-only operation, but it does not disclose any behavioral details such as error handling, return format, or side effects. For a simple getter, this is adequate but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is direct and front-loaded. Every word serves a purpose, with no redundancy or unnecessary details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with one parameter and no output schema, the description is sufficient to understand its purpose and usage. It could potentially mention that only custom properties (prefixed with --) are returned, but this is implied by 'CSS custom properties'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (tagName is described as 'The tag name of the element'). The description does not add any extra meaning beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Get') and explicitly identifies the resource ('CSS custom properties') and scope ('for a specific EOxElements custom element'). This clearly distinguishes it from sibling tools like get_element_css_parts and get_element_attributes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool (when you need CSS custom properties), but it does not explicitly mention alternatives or exclusions. This is clear context without formal when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool targets a distinct aspect of an EOxElements custom element (attributes, CSS parts, CSS properties, events, methods, properties, slots, stories), making selection unambiguous. Even get_element_details, which might aggregate information, is clearly named as a full-details option rather than overlapping with the specific aspect getters.
All tools follow a consistent get_element_<aspect> pattern, with list_elements as the sole exception, which still uses a verb_noun structure. This uniformity makes the toolset highly predictable and easy to navigate.
With 10 tools, the server is well-scoped for the purpose of exploring EOxElements custom elements. Each tool covers a specific documented aspect, and the count fits comfortably within the ideal 3-15 range.
The toolset comprehensively covers the public API surface of a custom element library: listing elements and retrieving all standard web component facets (attributes, properties, methods, events, slots, CSS parts, CSS properties) plus stories and full details. No obvious gaps exist for the documentation purpose.