get_element_attributes
Get the attributes for a specific EOxElements custom element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagName | Yes | The tag name of the element. |
Get the attributes 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 only states that the tool 'gets attributes' and gives no detail about the return format, error behavior, whether the element must exist, or any read-only guarantees. The lack of an output schema exacerbates this gap.
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, front-loaded sentence with no wasted words. It is efficient, though it lacks additional useful detail that could be added without much length.
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 (1 param, no output schema), but the description does not describe what is returned (e.g., a map of attribute names to values) or any constraints on tagName. Without an output schema, this leaves the agent guessing about the tool's behavior.
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 adds no 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 resource ('attributes') and clearly scopes it to 'a specific EOxElements custom element.' It is distinct from sibling tools, which target css parts, css properties, details, events, methods, properties, slots, and stories.
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 no guidance on when to use this tool versus alternatives. It does not mention exclusions, prerequisites, or contrast with sibling tools like get_element_properties or get_element_details. Usage is implied only by the name and resource type.
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.