Skip to main content
Glama

Build Module Config

build_module_config

Build a complete module config dictionary for ui_config.json from a module JSON string, defining IDs, labels, icons, descriptions, KPIs, and charts for dashboard modules.

Instructions

Build a complete module config dict for ui_config.json.

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

Input Schema

NameRequiredDescriptionDefault
module_jsonYesJSON string with module parameters: { "modulo_id": "dashboard", "nombre": "Executive Overview", "icono": "๐Ÿ“Š", "material_icon": "dashboard", "descripcion": "Business summary", "kpis": [...], "graficos": [...] }

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 burden, and it discloses almost nothing: it does not say whether it only constructs an in-memory dict or writes to ui_config.json, whether it validates the module JSON, how it fails on malformed input, or whether it merges with existing config. The word "complete" hints at assembly behavior but never defines it.

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?

One front-loaded sentence with no filler or repetition. It is efficient, though its brevity stems from under-specification rather than disciplined editing.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for a builder in a crowded family of config builders the definition should say how it composes with siblings and what it assumes about module_json. With zero annotations and no such context, an agent cannot confidently place this tool in a pipeline.

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?

There is a single required parameter with 100% schema description coverage, and the schema itself embeds a worked example of the module JSON shape (modulo_id, nombre, icono, kpis, graficos). The description adds no further semantics about that parameter, so the baseline 3 applies โ€” the schema does the work, the prose does not.

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 names a specific verb ("Build") and a specific artifact ("a complete module config dict for ui_config.json"), so the agent knows it produces a module-level config entry rather than a query or a file read. It does not distinguish itself from the closely related builders (build_chart_config, build_kpi_config, build_filter_config), leaving the module-vs-subcomponent boundary to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this tool, in what sequence relative to generate_config or cross_validate_config, or what precondition (e.g. a dashboard already existing) must hold. With four builder siblings named similarly, the absence of any routing guidance is a real gap.

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