Skip to main content
Glama

CityVistion MCP (CityEngine / CGA.js / NL2CGA)

Cityengine Inspect Cga

cityengine_inspect_cga

解析 CGA 源码的可调属性(名称/类型/默认值/取值范围/枚举),免 API key。

与 cityengine.cn 网页端 /api/v1/cv/inspect 同一接口,适合在渲染前自检参数面板。

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_inspect_cga"
  }
}

Input Schema

NameRequiredDescriptionDefault
cga_sourceYesCGA 规则源码全文。

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does contribute real behavioral context — '免 API key' and the fact that it mirrors the cityengine.cn /api/v1/cv/inspect endpoint, implying a pure read/inspect operation — but says nothing about failure behavior on invalid CGA source or any limits, which matters for a zero-annotation tool.

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?

Two short sentences, front-loaded with the output content and followed by the usage context. Nothing is padded; the only minor cost is that the endpoint-equivalence sentence is informative rather than actionable.

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?

The tool takes one input and has an output schema, so return values need not be described, and the description correctly focuses on what attributes are extracted. The remaining gap is the absence of any statement distinguishing this from the sibling parse_cga tool, which the definition could easily have covered.

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?

There is a single parameter with 100% schema description coverage ('CGA 规则源码全文'), so the schema already fully documents it and the baseline is 3. The description adds no format or encoding detail (e.g. whether the source must be self-contained or include imports) beyond what the schema says.

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+resource ('解析 CGA 源码') and enumerates exactly what it extracts (名称/类型/默认值/取值范围/枚举), which is far more useful than the bare title. It does not, however, distinguish itself from the sibling 'cityengine_parse_cga', so an agent cannot route between the two from this text 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?

The line '适合在渲染前自检参数面板' gives a concrete usage scenario (pre-render parameter panel self-check), which implies when to reach for it. There are no explicit exclusions or named alternatives, so the agent must infer the boundary against parse_cga or generate_cga.

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.