Skip to main content
Glama

part.compare

Read-onlyIdempotent

Check consistency of 2-5 UI parts by comparing their styles, layout, interaction, and accessibility. Reports identical or divergent properties to pinpoint mismatches.

Instructions

2-5個のUIパーツをスタイル・レイアウト・インタラクション・アクセシビリティで並列比較。デフォルトはstyles+layout。各プロパティの同一性も判定。 / Compare 2-5 UI parts on styles, layout, interaction, and accessibility. Default: styles + layout. Reports property-level identity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
part_idsYes比較対象パーツID(2-5個) / 2-5 part IDs to compare
compare_aspectsNo比較観点(デフォルト: styles, layout) / Aspects to compare (default: styles, layout)
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint. The description adds that the tool reports property-level identity, which is useful behavioral context beyond what annotations provide. No contradictions.

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 sentences in both Japanese and English, front-loaded with the core purpose and key details. No extraneous information.

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 the simple tool (2 params, no output schema, annotations provided), the description is adequate. It covers purpose, parameters, and behavior. Minor gap: no description of output format, but the tool's simplicity mitigates this.

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 coverage is 100% with descriptions for both parameters. The description reinforces the parameter constraints (2-5 parts, default aspects) and adds the 'property-level identity' reporting, which adds value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool compares 2-5 UI parts on four specified aspects (styles, layout, interaction, accessibility), defaults to styles+layout, and reports property-level identity. It effectively distinguishes from sibling tools like design.compare or layout.inspect.

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 implies usage by specifying the number of parts and default aspects, but does not explicitly state when to use this tool over alternatives like design.compare or layout.inspect. No when-not-to-use guidance is provided.

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/TKMD/ReftrixMCP'

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