Skip to main content
Glama

create_dashboard

Create a new ERPNext dashboard in standard or smart mode, integrating charts and cards to organize and visualize key business data.

Instructions

Create a new Dashboard in ERPNext (unified – use mode = 'standard' | 'smart')

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>",
      "module": "<module>"
    },
    "name": "create_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoCreation mode: 'smart' (default) or 'standard' (legacy). Smart mode performs chart/card integration.smart
nameYesDashboard name
cardsNoDashboard cards (optional, smart mode only)
chartsNoCharts (optional)
moduleYesModule name
is_defaultNoIs default dashboard (1/0, optional)
is_standardNoIs standard dashboard (1/0, optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does not meet it. It never states that this is a mutating operation with persistent side effects, what permissions are required, what happens on duplicate names, or what smart-mode 'chart/card integration' actually does to existing objects.

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?

A single compact sentence with the verb and resource front-loaded and the mode hint appended rather than buried. The word 'unified' is slightly opaque but the sentence wastes little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter creation tool with no annotations and no output schema, the description is thin: it omits return shape, failure behavior, and the practical difference between the two modes. The fully documented schema compensates for parameter gaps, but not for behavioral ones.

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 every parameter including the mode enum is already documented in the schema. The description only echoes the mode values and adds no syntax, format, or interaction detail (e.g., whether cards/charts are ignored in standard mode) beyond that.

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 clear verb+resource ('Create a new Dashboard') and identifies the target system (ERPNext), and the parenthetical shows this is a unified entry point spanning two modes. It does not, however, distinguish itself from the close sibling create_smart_dashboard, so an agent cannot tell from the description alone which of the two to pick.

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 only implied: the phrase 'use `mode` = standard | smart' tells the agent that a mode choice exists, but the actual guidance (smart is default, standard is legacy) lives in the schema, not the description. There is no statement of when to prefer this tool over create_smart_dashboard or the bulk variants.

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