Skip to main content
Glama

compose_figure

Compose a multi-panel scientific figure layout. Takes panel pixel dimensions (and optional detected axis positions per panel) plus figure settings, returns panel positions/sizes in millimetres using the aligned-grid engine: axis lines aligned per column/row, plot areas matched so baked-in text sizes unify. No image data is needed or accepted.

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

Input Schema

NameRequiredDescriptionDefault
panelsYes
settingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the output (panel positions/sizes in millimetres), the engine's behavior (aligned-grid, axis lines aligned per column/row, plot areas matched so text sizes unify), and the input constraint (no image data). It does not state error behavior or the 52-panel ceiling, so it falls 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.

Conciseness4/5

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

Three sentences, front-loaded with purpose, then input/output, then a constraint. Dense but every clause carries information; no filler or repetition.

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?

No output schema exists, and the description correctly compensates by stating the return value (positions/sizes in millimetres). Given nested objects and no annotations, it covers the essential what/why/how well, though the settings sub-fields and operational limits are left to the schema.

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?

Top-level schema description coverage is effectively 0%, and the description only glosses the two top-level parameters ('panel pixel dimensions plus figure settings'). It does not explain settings fields such as scaling ('plot' vs 'uniform'), alignAxes, gap, or margin, whose semantics remain undocumented in both schema and description.

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 (Compose) and resource (multi-panel scientific figure layout) and describes both inputs and outputs in one sentence. No sibling tool shares this domain, so there is nothing to disambiguate against, and the function is unmistakable.

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?

Usage is implied by the description (you call it to produce a composed panel layout), and it gives one boundary condition ('no image data is needed or accepted'). But it offers no explicit when-to-use framing, prerequisites, or failure guidance; guidance is inferable rather than stated.

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