Skip to main content
Glama

glTF/GLB Analysis

format_gltf
Read-onlyIdempotent

Extract metadata from a glTF or GLB file.

Returns asset info, scene graph structure, mesh/material/texture
counts, vertex and index totals, feature flags (normals, tangents,
texcoords, colors, joints), primitive modes, and extensions.

Payment via x402 (USDC on Base) or card via MPP (Stripe). See format_auto
for payment flow details. Privacy policy: https://caliper.fit/privacy

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentNoPayment proof as a JSON string. Set this when retrying after a payment_required response. For x402: must contain 'transaction' (on-chain tx hash), 'network', and 'priceToken' from the payment_required response. For MPP: must contain 'challenge' and 'payload' from the org.paymentauth/credential flow. Default: null (omit on first call; set only when retrying with payment).
file_b64NoBase64-encoded file content. Max 200KB decoded. Use file_url for larger files to avoid consuming model context window budget. Default: null (omit if providing file_url instead).
file_urlNoHTTP/HTTPS URL of the geometry file to analyze. Preferred for large files (over 200KB). The file format is detected from the URL path extension, so the filename parameter is not needed when using file_url. Max 100MB. Default: null (omit if providing file_b64 instead).
filenameNoOriginal filename with extension (e.g. 'model.stl'). Required for format detection when using file_b64. Not needed when using file_url (format is detected from the URL path). Default: null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"x402 payment proof as a JSON string. Set this when retrying after a payment_required response. Must contain 'transaction' (on-chain tx hash), 'network', and 'priceToken' copied from the payment_required response. Example: {\"transaction\": \"0xabc...\", \"network\": \"base\", \"priceToken\": \"4:1776026505:1fe9...\"}. Default: null (omit on first call; set only when retrying with payment)."New value: +"Payment proof as a JSON string. Set this when retrying after a payment_required response. For x402: must contain 'transaction' (on-chain tx hash), 'network', and 'priceToken' from the payment_required response. For MPP: must contain 'challenge' and 'payload' from the org.paymentauth/credential flow. Default: null (omit on first call; set only when retrying with payment)."
  2. Changed4 schema fields changed
    • changedInput schema / properties / file_b64 / description
      Previous value: -"Base64-encoded file content. Use for files under 200 KB."New value: +"Base64-encoded file content. Max 200KB decoded. Use file_url for larger files to avoid consuming model context window budget. Default: null (omit if providing file_url instead)."
    • changedInput schema / properties / file_url / description
      Previous value: -"HTTP/HTTPS URL of the geometry file to analyze. Preferred for large files."New value: +"HTTP/HTTPS URL of the geometry file to analyze. Preferred for large files (over 200KB). The file format is detected from the URL path extension, so the filename parameter is not needed when using file_url. Max 100MB. Default: null (omit if providing file_b64 instead)."
    • changedInput schema / properties / filename / description
      Previous value: -"Original filename with extension, used for format detection when providing file_b64."New value: +"Original filename with extension (e.g. 'model.stl'). Required for format detection when using file_b64. Not needed when using file_url (format is detected from the URL path). Default: null."
    • changedInput schema / properties / payment / description
      Previous value: -"x402 payment proof as a JSON string. Set this when retrying after a payment_required response. Must contain 'transaction' (on-chain tx hash), 'network', and 'priceToken' from the payment_required details."New value: +"x402 payment proof as a JSON string. Set this when retrying after a payment_required response. Must contain 'transaction' (on-chain tx hash), 'network', and 'priceToken' copied from the payment_required response. Example: {\"transaction\": \"0xabc...\", \"network\": \"base\", \"priceToken\": \"4:1776026505:1fe9...\"}. Default: null (omit on first call; set only when retrying with payment)."
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, ensuring the agent knows it is a safe read. The description adds valuable behavioral context by specifying what data is returned (asset info, scene graph, counts, feature flags, etc.) and the payment requirements via x402 or MPP. This goes beyond the annotations without contradicting them.

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?

The description is concise: two sentences of core purpose and output, plus one sentence on payment and privacy. Every sentence earns its place, and the most important information is front-loaded. No irrelevant filler.

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?

With no output schema, the description fully compensates by listing exact return contents (counts, feature flags, primitive modes, extensions). It also covers payment prerequisites and file size limits, making it complete for an agent to decide when and how to invoke.

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 100%, so the schema already documents all parameters thoroughly. The description does not add significant parameter-level detail beyond what is in the schema, but it does mention payment methods which relate to the payment parameter. This meets the baseline for schema-heavy documentation.

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?

The description clearly states 'Extract metadata from a glTF or GLB file.' This provides a specific verb (extract), resource (glTF/GLB file), and the tool name and title align perfectly. It distinguishes itself from siblings like format_obj and format_stl by targeting a specific format.

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?

The description gives clear context: it is for glTF/GLB files. It also references format_auto for payment flow details, which provides some cross-tool guidance. However, it does not explicitly state when not to use it or mention alternative format-specific tools, so there is a minor gap in exclusions.

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.

Resources