Skip to main content
Glama

CityVistion MCP (CityEngine / CGA.js / NL2CGA)

Cityengine Parse Cga

cityengine_parse_cga

用 CityEngine 官方引擎解析 CGA 规则源码,生成三维模型(GLB)。

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": {
      "cga_source": "<cga_source>"
    },
    "name": "cityengine_parse_cga"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo随机种子(固定后可复现)。
timeout_sNo
attributesNoCGA attr 覆盖,如 {"height": 30}(键须在规则 attr 声明内)。
cga_sourceYesCGA 规则源码全文。
output_dirNo
download_glbNo
initial_shapeNo初始地块多边形 {"type":"Polygon","pts":[[x,z],...]},米制。

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/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 disclosure burden, and it provides almost none. It does not say whether parsing is local or remote, what happens on parse failure, how the timeout_s budget behaves, whether output_dir files persist, or what download_glb actually triggers — all material for a compute-heavy generation call.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though the brevity edges into under-specification rather than economy.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. But for a seven-parameter, timeout-bearing generation job with no annotations and 43% undocumented parameters, the description leaves far too much unspecified for an agent to invoke it confidently.

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 only 57%, so the description should compensate for undocumented parameters, but it adds no parameter meaning at all. Nothing is said about initial_shape geometry, attributes overriding declared attrs, seed reproducibility, or timeout behavior beyond what the schema fragments already state.

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 names a specific verb chain and resource: parse CGA rule source with the official CityEngine engine and produce a 3D model (GLB). That is enough to distinguish it from a natural-language generator like nl2cga_generate_cga, but it never explicitly contrasts with close siblings such as cityengine_generate_cga or cgajs_compile_cga, leaving the boundary to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no named alternative. An agent has to infer from sibling names alone whether this or cityengine_generate_cga is the right call for a given CGA source.

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.