get_element_css_parts
Get the CSS shadow parts for a specific EOxElements custom element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | The tag name of the element. |
Get the CSS shadow parts 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?
With no annotations provided, the description carries the burden of behavioral disclosure. It implies a read-only operation and names the target, but does not specify return format, empty behavior, or other details. This is minimal but not misleading for a simple getter.
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?
A single, front-loaded sentence with zero wasted words. It states the action and target immediately, which is ideal for a tool description.
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?
The tool is simple (one parameter, no output schema), and the description is sufficient for the core purpose. It could be enhanced by noting the return shape or relationship to sibling tools, but it is complete enough for a straightforward getter.
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 coverage is 100% and the description adds context by specifying 'EOxElements custom element', clarifying the domain beyond the schema's generic 'tag name of the element'. This helps the agent understand the expected value.
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 clearly states the verb ('Get'), the resource ('CSS shadow parts'), and the target ('a specific EOxElements custom element'). It distinguishes this tool from siblings like get_element_css_properties by naming the specific artifact.
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 provides clear context (use with a specific EOxElements custom element) but does not explicitly mention alternatives or when not to use this tool. The distinction from sibling tools is implied by the resource name, which is adequate for a single-purpose getter.
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.