Skip to main content
Glama

CityVistion MCP (CityEngine / CGA.js / NL2CGA)

Cityengine Generate Model

cityengine_generate_model

自然语言一句话 → 直接生成三维模型(NL2CGA + CityEngine 引擎一键串联)。

两种模式二选一:

  1. text:自然语言描述,如「生成一栋 12 层现代玻璃幕墙办公楼」。

  2. base_cga + instruction:回传既有 CGA + 修改指令,二次生成再出模型。

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": "cityengine_generate_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
textNo
base_cgaNo
timeout_sNo
attributesNo
output_dirNo
instructionNo
download_glbNo
initial_shapeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the two-stage pipeline, but says nothing about runtime/long-running nature (implied by a 300s default timeout), quota or cost consumption, whether generation is deterministic per seed, or what side effects writing to output_dir/glb entails. For a 9-parameter generative tool with zero annotation coverage this is a significant gap.

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?

Front-loaded one-line purpose followed by a clean two-item mode list; the arrow notation conveys the pipeline efficiently. Nearly every sentence earns its place, with only mild redundancy between the headline and mode 1's phrasing.

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?

Purpose and the core input modes are complete enough for an agent to choose the tool and pick a mode, and an output schema exists so return values need not be explained. What is missing is operational context around the six unmentioned parameters and the cost/async implications of a generation call.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description must compensate and it largely does not. It explains only text, base_cga, and instruction; seed, timeout_s, attributes, output_dir, download_glb, and initial_shape are never mentioned or given meaning. Three of nine parameters covered is well below what this schema requires.

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?

States a concrete verb and resource: natural-language input transformed into a 3D model via an NL2CGA + CityEngine pipeline. It also enumerates the two input modes (text vs. base_cga + instruction), which tells an agent what the tool produces. It does not explicitly differentiate from siblings such as cityengine_generate_cga or nl2cga_generate_cga, leaving that boundary implicit.

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?

Gives clear mode-selection guidance with an example for mode 1 and a described workflow for mode 2 (reuse an existing CGA plus a modification instruction). That is real when-to-use context. It stops short of stating exclusions or naming an alternative tool for cases that don't fit either mode.

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.