Skip to main content
Glama
mckinsey

vizro-mcp

Official
by mckinsey

get_model_json_schema

Get the JSON schema for a specified Vizro model by providing its name. Use this to understand the structure of models like Card or Dashboard.

Instructions

Get the JSON schema for the specified Vizro model. Server Vizro version: 0.1.59

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_nameYesName of the Vizro model to get schema for (e.g., 'Card', 'Dashboard', 'Page')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_nameYes
json_schemaYes
additional_infoYes
Behavior3/5

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

No annotations are provided, so the description bears full burden. It describes a read operation but does not disclose side effects, authorization needs, or rate limits. However, for a simple schema retrieval, this is acceptable.

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 two short sentences, front-loaded with the main action, and contains no unnecessary words. Every sentence adds value.

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?

Given the tool's simplicity (one parameter, no output schema needed for explanation), the description is largely complete. It could mention that the schema is returned as JSON, but the existing output schema likely covers that.

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%, and the input schema already explains the 'model_name' parameter with examples. The description adds no additional meaning beyond what the schema provides.

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 the action ('get the JSON schema'), the resource ('specified Vizro model'), and includes a version reference. It distinguishes itself from sibling tools like 'validate_chart_code' and 'get_sample_data_info'.

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?

The description gives the basic context (server version) but no explicit guidance on when to use this tool versus alternatives, nor any scenarios where it should not be used. It is implied but not explicit.

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/mckinsey/vizro'

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