Skip to main content
Glama

A2UI Atomic Catalog

get_atom_schema

Read-onlyIdempotent

Return the PROP SHAPE (field names + what each field takes) for named atoms. get_catalog tells you an atom EXISTS; this tells you how to fill it. Call this before authoring any atom you have not used before — guessing prop names is the single most common cause of an atom rendering empty or wrong. Accepts several types at once, so a multi-atom surface resolves in one call. Each atom also carries renderers: renderer id -> measured status (web: drawn, drawn_with_differences, not_verified, not_supported, not_measured; flutter: native, degraded, not_supported, not_measured; compose: native, not_supported, not_measured). Only drawn and native mean it draws as intended; degraded = lowered to Basic components. renderers_matrix is the URL holding the reasons and evidence (atoms[][]). Atoms not yet measured have no renderers.

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": {
      "types": "<types>"
    },
    "name": "get_atom_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesYesAtom type names, e.g. ["weather_now","chartjs_bar"] (max 25)

Output Schema

NameRequiredDescriptionDefault
hintNoWhat to do about the unknown names.
atomsYesProp shapes keyed by atom type; each value has fields, description, surfaces and, when measured, renderers (renderer id -> status).
unknownNoRequested names that are not real atoms.
renderers_matrixNoURL of the renderer matrix with the reasons and evidence behind each renderers status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / atoms / description
      Previous value: -"Prop shapes keyed by atom type; each value has fields, description and surfaces."New value: +"Prop shapes keyed by atom type; each value has fields, description, surfaces and, when measured, renderers (renderer id -> status)."
    • addedOutput schema / properties / renderers_matrix
      Added value: +{
      +  "description": "URL of the renderer matrix with the reasons and evidence behind each renderers status.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive return-value semantics: renderer status vocabularies per platform and the crucial interpretation rule that only 'drawn'/'native' mean correct rendering while 'degraded' means lowered to Basic components. It also points to renderers_matrix for evidence and notes that unmeasured atoms carry no renderers. Slight duplication with the output schema keeps it from a 5.

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 the get_catalog contrast before the supporting detail. The renderer status enumeration is dense but each term is defined inline; the only mild drag is the parenthetical list of platform statuses, which could be tabled but remains scannable.

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?

For a read-only lookup with an output schema, the description supplies everything else an agent needs: when to call it, how to batch, how to interpret the renderers field, and where to find reasons for non-passing statuses. Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

The single parameter is fully documented in the schema (100% coverage), so the baseline is 3; the description earns above that by adding the batch-semantics insight ('Accepts several types at once, so a multi-atom surface resolves in one call') and showing the expected name format in context. It does not restate the max-25 limit, which the schema already carries.

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 ('Return the PROP SHAPE ... for named atoms') and immediately contrasts it with the sibling get_catalog ('tells you an atom EXISTS; this tells you how to fill it'). An agent can distinguish the two 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 Guidelines5/5

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

Gives an explicit precondition for use ('Call this before authoring any atom you have not used before') and names the failure mode that motivates it (guessing prop names renders atoms empty or wrong). It also names the alternative tool and the boundary between them, plus a batching rationale for multi-atom surfaces.

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.