Skip to main content
Glama

get_visual_schema

Retrieve the formatting schema for a visual type, optionally scoping to a specific card like legend or axis, to discover property types and constraints.

Instructions

Get the formatting schema for one visualType as a compact structured object - the same cards -> properties -> {type, enum, min, max} as list_visual_properties, optionally scoped to a single card (e.g. legend, valueAxis, title). Omit card for the full schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardNooptional single card to scope to, e.g. legend
visualTypeYesa canonical visualType key, e.g. lineChart
Behavior4/5

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

Without annotations, the description discloses the return shape (cards -> properties -> {type, enum, min, max}) and the scoping behavior (omit card for full schema). This provides useful behavioral context beyond just saying 'get'.

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?

Two sentences, front-loaded with the core purpose, no fluff. The structure follows the scoping logic clearly.

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?

For a simple 2-param read tool with no output schema, the description covers the return structure and scoping options. It doesn't specify error behavior or invalid inputs, but that's not essential for this straightforward getter.

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 coverage is 100%, so baseline is 3. The description adds minor value by explaining 'omit card' behavior and giving examples (legend, valueAxis, title), but the schema already covers parameter meaning sufficiently.

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?

Clearly states 'Get the formatting schema for one visualType' with a specific verb and resource. Distinguishes itself by referencing list_visual_properties and the optional card scoping, which differentiates it from sibling tools like list_visual_properties or get_visual_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?

Description provides clear context: use this for a compact schema of a single visualType, with optional card scoping. It references list_visual_properties as a comparison point, but doesn't explicitly state when to prefer one over the other, so no exclusions are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyphonica/powerbi-pbix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server