Skip to main content
Glama

CityVistion MCP (CityEngine / CGA.js / NL2CGA)

Nl2Cga Get Job

nl2cga_get_job

查询 NL2CGA 生成任务状态(queued/running/succeeded/failed)与结果。

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": {
      "job_id": "<job_id>"
    },
    "name": "nl2cga_get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesnl2cga_generate_cga 返回的 job_id。

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose the status lifecycle (queued/running/succeeded/failed) and that results are returned. It omits whether results are retained or expire, how an invalid or expired job_id is handled, and whether polling is expected or rate-limited.

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?

One compact sentence that front-loads the resource and immediately enumerates the status values. Nothing is redundant and nothing needs to be trimmed.

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 one-parameter read tool with an output schema that covers the return payload, the description supplies the essential state vocabulary. Only edge-case behavior on invalid or expired job_ids is left unspecified, which is a minor gap given the tool's simplicity.

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 coverage is 100% and the single job_id parameter is already documented as originating from nl2cga_generate_cga, so the schema does the work. The description adds no further meaning about the identifier format or validation beyond what the schema provides, making the baseline 3 appropriate.

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 (query) and resource (NL2CGA generation job status) and enumerates the four possible states, so an agent knows exactly what it retrieves. It is distinguishable from the sibling nl2cga_generate_cga, which submits the job, though the description never explicitly frames itself as the polling companion.

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?

Polling-after-generation usage is only implied; the link to nl2cga_generate_cga appears solely in the job_id schema description rather than in the tool description. There is no statement about when to call it repeatedly, when to stop, or what to do instead if the job is unknown.

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.