Skip to main content
Glama
Almond MCP

Almond MCP

export_asset_contract

Exports Rhino objects as a GLB plus an .almond.json contract that preserves dimensions, anchor plane, clearances, and material IDs so other apps can restore full asset meaning.

Instructions

Exports Rhino objects as a portable Almond asset: a GLB plus an asset contract (.almond.json) carrying what the file cannot.

The contract records real dimensions in mm, the anchor and support plane, clearances, and the Almond material_id of every object - so another application (Blender, Unreal, another Rhino) can restore full meaning even though glTF drops per-object metadata. Pair with import_asset_contract on the receiving side.

Args: guids: Rhino object GUIDs to export (from execute_rhino_script). asset_id: Stable id, e.g. "canopy-pavilion-01" (letters, digits, . _ -). name: Human-readable name; defaults to asset_id. output_dir: Destination folder. Default: /exchange. Returns: JSON with the glb path, contract path, and recorded dimensions.

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": {
      "guids": "<guids>",
      "asset_id": "<asset_id>"
    },
    "name": "export_asset_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
guidsYes
asset_idYes
output_dirNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does substantial work: it discloses exactly what the contract records (mm dimensions, anchor and support plane, clearances, material_id), why the sidecar exists, the default output directory, and the return shape. It does not say whether an existing file at the destination is overwritten or what permissions/paths are required, which is the main remaining gap for a write-to-disk 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?

Front-loaded with the core purpose and then structured with explicit Args and Returns blocks, which makes scanning easy. The opening clause 'a GLB plus an asset contract (.almond.json) carrying what the file cannot' is slightly restated by the following paragraph, a minor redundancy but not enough to hurt readability.

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

Completeness5/5

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

An output schema exists, yet the description still summarizes the return value at the right level of abstraction. For a four-parameter export tool with defaults and a file side-effect, everything an agent needs to invoke it correctly (sources, id format, name default, destination) is present.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it documents all four parameters: guids as Rhino object GUIDs sourced from execute_rhino_script, asset_id with a concrete example and allowed character set, name with its default-to-asset_id behavior, and output_dir with its default path. This is meaning well beyond what the bare schema types convey.

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 specific verb and resource ('Exports Rhino objects as a portable Almond asset') and enumerates the two artifacts produced: a GLB plus an .almond.json contract. It also distinguishes itself from the sibling import_asset_contract by naming the receiving-side counterpart, so an agent can tell export from import without opening either schema.

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 a clear usage context ('so another application (Blender, Unreal, another Rhino) can restore full meaning even though glTF drops per-object metadata') and explicitly pairs it with import_asset_contract. It stops short of stating when NOT to use it or how it relates to other export siblings such as export_structural_report, so it is clear context without exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools