Skip to main content
Glama

Urban Game Theory — Consensus Builder

Import model

ugt_import_model
Idempotent

Upload a self-contained GLB/glTF model and draft a building, park, square or lake (kind) with its actual projected mesh footprint placed at center and rotation. A CityGML or CityJSON file with one building, or an IFC building model (Revit, ArchiCAD and other BIM exports; kind building), is converted to the same GLB the site makes and stands where its file puts it, so it needs no center; a supplied center more than 1 km from the location in the file wins (IFC site locations are often a design-tool template default). IFC keeps walls, slabs, roofs and windows, and leaves out site objects outside them and, when over the limits, whole kinds of detail (asset.leftOut). A space keeps the model in structureProposal modelUrl/modelName/rotation/source. kind furniture only checks the asset against the furniture limits (triangles, texture size, bytes) and uploads it, returning asset {modelUrl, name} and no design; center and rotation are not used. Assign it with ugt_edit_design at /structureProposal/decorationDesign/models/ = {url, name}. The model asset is durable and public; confirmAssetUpload=true requires user authorization. Any design stays private.

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": {
      "confirmAssetUpload": "<confirmAssetUpload>"
    },
    "name": "ugt_import_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
cityNoRequired unless kind is furniture.
kindNobuilding
titleNo
centerNoRequired for a glTF model unless kind is furniture; a CityGML, CityJSON or georeferenced IFC building brings its own.
fileNameNo
rotationNo
modelDataNo
parcelSourceIdNo
confirmAssetUploadYes

Output Schema

NameRequiredDescriptionDefault
cidNo
urlNo
codeNo
nextNo
assetYes
fieldNo
itemsNo
stageNo
totalNo
issuesNo
offsetNo
statusNo
valuesNo
indexedNo
messageNo
draftRefNo
warningsNo
retryableNo
truncatedNo
untrustedNo
currentCidNo
previewUrlNo
retryAfterNo
approvalUrlNo
constraintsNo
expectedCidNo
previousCidNo
publicationNo
previewStatusNo
publishedCidsNo
parcelSourceIdNo
previewExpiresAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / center / description
      Previous value: -"Required for a glTF model unless kind is furniture; a CityGML or CityJSON building brings its own."New value: +"Required for a glTF model unless kind is furniture; a CityGML, CityJSON or georeferenced IFC building brings its own."
  2. Changed3 schema fields changed
    • changedInput schema / properties / center / description
      Previous value: -"Required unless kind is furniture."New value: +"Required for a glTF model unless kind is furniture; a CityGML or CityJSON building brings its own."
    • removedOutput schema / properties / pinnedCids
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / publishedCids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed15 schema fields changed
    • addedInput schema / properties / center / description
      Added value: +"Required unless kind is furniture."
    • addedInput schema / properties / city / description
      Added value: +"Required unless kind is furniture."
    • addedInput schema / properties / kind
      Added value: +{
      +  "default": "building",
      +  "enum": [
      +    "building",
      +    "park",
      +    "square",
      +    "lake",
      +    "furniture"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "city",
      -  "center",
      -  "confirmAssetUpload"
      -]New value: +[
      +  "confirmAssetUpload"
      +]
    • changedOutput schema / properties / asset / additionalProperties
      Previous value: -falseNew value: +{}
    • removedOutput schema / properties / asset / properties / footprint
      Removed value: -{
      -  "const": "projected-model-triangles",
      -  "type": "string"
      -}
    • addedOutput schema / properties / asset / properties / kind
      Added value: +{
      +  "enum": [
      +    "building",
      +    "park",
      +    "square",
      +    "lake",
      +    "furniture"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / asset / required
      Previous value: -[
      -  "modelUrl",
      -  "public",
      -  "durable",
      -  "footprint"
      -]New value: +[
      +  "modelUrl",
      +  "public",
      +  "durable",
      +  "kind"
      +]
    • addedOutput schema / properties / publication / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "private",
      +      "published"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / publication / const
      Removed value: -"private"
    • removedOutput schema / properties / publication / type
      Removed value: -"string"
    • removedOutput schema / properties / untrusted / properties
      Removed value: -{
      -  "design": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "schema": {
      -        "const": "design/v1",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "schema"
      -    ],
      -    "type": "object"
      -  }
      -}
    • addedOutput schema / properties / untrusted / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / untrusted / required
      Removed value: -[
      -  "design"
      -]
    • changedOutput schema / required
      Previous value: -[
      -  "cid",
      -  "previewUrl",
      -  "previewStatus",
      -  "publication",
      -  "untrusted",
      -  "asset"
      -]New value: +[
      +  "asset"
      +]
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) the description discloses durability and visibility ('The model asset is durable and public' vs 'Any design stays private'), the authorization gate, and what the IFC converter deliberately drops (site objects, detail kinds over limits, surfaced as asset.leftOut). That is exactly the kind of consequence information the annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The primary case is front-loaded and nearly every clause carries information, but the prose is heavily clause-stacked (the IFC sentence and the furniture sentence both run long) which makes it slow to parse for a ten-parameter tool. Bullet-style separation of the three input paths would have cost nothing and gained clarity.

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?

An output schema exists so return shapes need not be spelled out, yet the description still explains asset.leftOut and the furniture asset {modelUrl, name}. Given ten parameters, a privileged upload flag and four input formats, the definition is close to complete, with the main residual gap being the unexplained secondary parameters.

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 only 20%, so the description must compensate and it only partly does: kind, center, rotation and confirmAssetUpload are given real meaning, but url, city, title, fileName, modelData and parcelSourceId are never explained. The line about structureProposal modelUrl/modelName/rotation/source is too compressed to map clearly onto the input fields.

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

Purpose5/5

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

States a concrete verb and resource ('Upload a self-contained GLB/glTF model and draft a building, park, square or lake') and then enumerates the accepted input formats (GLB/glTF, CityGML, CityJSON, IFC) and what each produces. The furniture special case is called out separately, so an agent can tell the drafting path from the validate-and-upload path without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use branching: a center is required for a glTF model unless kind is furniture, while CityGML/CityJSON/georeferenced IFC brings its own center, with the concrete rule that a supplied center more than 1 km away wins. It also names the follow-up tool and path ('Assign it with ugt_edit_design at /structureProposal/decorationDesign/models/<kind>') and the authorization requirement for confirmAssetUpload=true.

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.