Skip to main content
Glama

get_composition

Read-onlyIdempotent

Read a composition document, including its elements, nested compositions and keyframes, or fetch a single element by its JSON Patch path to inspect or edit specific parts.

Instructions

Read one composition document (its elements, the compositions nested in it, keyframes), or only one element of it (with its JSON Patch path).

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

Input Schema

NameRequiredDescriptionDefault
nameYesComposition name
elementNoOnly this element (or nested composition)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • addedInput schema / properties / element
      Added value: +{
      +  "description": "Only this element (or nested composition)",
      +  "type": "string"
      +}
    • addedInput schema / properties / name / description
      Added value: +"Composition name"
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered without prose. The description adds value on top by describing what the returned document contains (elements, nested compositions, keyframes), which is the main thing an agent needs to know before calling. It says nothing about behavior for a missing composition or how the element view differs in shape, keeping it short of 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.

Conciseness5/5

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

A single front-loaded sentence with the primary mode first and the narrower mode second; every clause carries information and there is no filler.

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?

With no output schema, the description usefully summarizes the return payload, and for a two-parameter read tool subject to rich annotations it covers what an agent needs. The only shortfall is that the relationship between the element view and the full-document view (what fields appear in the narrower response) is left unexplained.

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 both parameters are already documented, and the baseline is 3. The description does add one piece of meaning — that the element parameter is addressed by a JSON Patch path, which the schema only calls 'Only this element (or nested composition)' — but gives no path syntax or examples to fully exploit it.

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 gives a specific verb and resource ('Read one composition document') and enumerates the payload (elements, nested compositions, keyframes), which clearly separates it from the mutating siblings delete_composition, put_composition and patch_composition. It does not name any sibling explicitly, so the differentiation is inferred from the verb rather than stated.

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?

It implies two modes — read the whole document, or read a single element — but never says when each mode is preferred or why an agent would choose the element form over the full read. No prerequisites, no exclusions, no named alternative tools, so usage is only implied.

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