Skip to main content
Glama
amis-mcp-server

amis-mcp-server

by xiaoguan521

generate_page_schema

Converts component lists into AMIS page schemas for single-page or multi-tab layouts, enabling dashboard page configuration.

Instructions

Generate AMIS page schema from component list. Supports single page mode (components array) or tabs mode (tabs array).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_page_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabsNoTab configurations for multi-tab mode
titleNoPage titleGenerated Page
layoutNoLayout modesimple
componentsNoComponent list for single page mode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls short. "Generate" hints at pure computation, but it does not say whether the schema is merely returned or persisted/registered as a page, which is the critical distinction against a mutating sibling like create_page. Nothing about side effects, permissions, or failure modes is disclosed.

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 short sentences with zero filler; the core action is front-loaded and the mode distinction follows immediately. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is moderately simple (4 optional params, no nested objects), and the description covers the core input contract. With no annotations and no output schema, however, it should clarify the return value and whether generation has side effects — gaps an agent must guess at before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters, establishing a baseline of 3. The description does add real value by mapping components to single page mode and tabs to tabs mode, implying mutual exclusivity that the schema itself does not state, but it says nothing about title or layout and gives no format detail for the component objects.

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

Purpose4/5

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

The description states a specific verb and resource: "Generate AMIS page schema from component list", with the required input named. It is clear what the tool produces, but it never distinguishes itself from siblings such as create_page or list_components, so an agent could not rule out overlap from the description alone.

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?

It does give mode-selection guidance: single page mode takes a components array, tabs mode takes a tabs array. That is useful implied when-to-use for the two shapes, but there is no statement of when to prefer this over create_page, nor any prerequisite or exclusion.

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