Skip to main content
Glama

Ecosphere design system

Map another UI kit to Ecosphere

get_migration_mapping
Read-onlyIdempotent

Migrate a UI from another component library to Ecosphere: the curated Ant Design Vue → Ecosphere table (component and prop translations, code shapes) and Ant Design icons → RemixIcon names; for MUI, Vuetify, Element Plus, Chakra, shadcn/ui, PrimeVue, Bootstrap and others, the closest Ecosphere components by need plus the migration workflow. Pass a component to get just its row.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>"
    },
    "name": "get_migration_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesSource library: "ant-design-vue", "ant-design", "ant-design-icons", "mui", "vuetify", "element-plus", …
componentNoOne source component, e.g. "a-modal", "Modal", "Autocomplete", "PlusOutlined".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so safety is covered; the description usefully adds the scope of the curated table (component and prop translations, code shapes, icon name mapping) versus the fallback 'closest component by need' behavior for other libraries. That distinction — curated exact mapping vs. approximate recommendation — is real behavioral context beyond the annotations. It stops short of describing result volume or how large an unfiltered response is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense but front-loaded sentence establishes the action, then the two mapping tiers, then the filtering tip. The long list of fallback libraries ('MUI, Vuetify, Element Plus, Chakra, shadcn/ui, PrimeVue, Bootstrap and others') is somewhat bloated, though it does signal breadth.

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?

For a two-parameter, read-only lookup with fully covered schema, the description gives everything needed to call it correctly: the accepted source libraries, the optional narrowing parameter, and what kind of output to expect. Absent an output schema, a brief note on result shape (single row vs. table plus workflow) would close the last gap.

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% and the schema already documents both parameters with examples, so the baseline is 3. The description earns an extra point by explaining the semantic effect of the optional 'component' parameter — it filters the output down to a single row rather than changing the query mode.

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?

The description opens with a specific verb+resource ('Migrate a UI from another component library to Ecosphere') and then enumerates exactly what the tool returns for two tiers of source libraries, including prop translations and icon name mapping. It is clearly distinguishable from siblings like get_component or list_components, which serve Ecosphere-native lookups rather than cross-library translation.

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?

It states the context of use (porting a UI from Ant Design Vue or another kit) and gives an explicit narrowing instruction: 'Pass a component to get just its row.' What's missing is a named alternative for the common adjacent need — e.g., pointing to get_component once a target Ecosphere component is identified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.