Skip to main content
Glama

add_dashboard_item

Додати віджет на дашборд порталу. Типи (module_type): 9=таблиця/звіт, 10=сума поля, 11=середнє поля, 12=кількість записів, 13=нові сьогодні, 14=оновлені сьогодні, 15=URL, 17=growth_by_table (динамічний ріст по таблиці), 18=growth_by_widgets (порівняння двох віджетів), 5=графік, 6=карта, 7=календар, 16=HTML сторінка. Для growth по таблиці (17): вкажи module_id, date_property_id, change_period. Для growth по двох віджетах (18): first_widget_id та second_widget_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iconNoFontAwesome клас іконки (опційно, автовибір якщо не вказано)
nameYesНазва віджету
app_idYesProject ID (from list_projects)
currencyNoСимвол валюти: $, €, ₴ тощо
positionNoПозиція в сітці (автоінкремент якщо не вказано)
module_idNoID форми або звіту (для типів 9,10,11,12,13,14,17) / ID графіка(5) / карти(6) / календаря(7)
portal_idYesPortal ID (from list_portals or describe_project)
block_widthNoШирина картки в сітці (1-12, bootstrap grid)
module_typeYes9=таблиця/звіт, 10=сума, 11=середнє, 12=кількість, 13=нові сьогодні, 14=оновлені сьогодні, 15=URL, 17=growth_by_table, 18=growth_by_widgets, 5=графік, 6=карта, 7=календар, 16=HTML
property_idNoID або назва числового поля — для суми(10), середнього(11). Для growth(17): поле що рахується.
block_heightNoВисота картки в px
change_periodNoДля growth: 0=вчора vs позавчора, 1=ця тиждень vs минулий, 2=цей місяць vs минулий, 3=квартал, 4=рік
show_currencyNoПоказати символ валюти біля числа
first_widget_idNoID першого дашборд-віджету для growth_by_widgets(18) — отримай з попереднього add_dashboard_item
date_property_idNoID або назва поля дати — для growth_by_table(17), щоб рахувати записи за period
second_widget_idNoID другого дашборд-віджету для growth_by_widgets(18)
currency_positionNo0=перед числом (default), 1=після числа
show_current_valueNoПоказати поточне значення поряд з % росту (default: true)
show_compare_periodNoПоказати значення за порівнювальний період (default: false)

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the modifiability is clear. The description adds the list of module types and parameter requirements but does not disclose other behavioral traits like permissions or side effects.

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?

The description is a single dense paragraph that starts with the purpose and then provides the module type mapping and requirements. It is front-loaded and concise, though could be slightly more structured.

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?

Given the schema covers all parameters and annotations provide safety hints, the description adequately explains the core functionality and parameter dependencies. However, it does not mention the return value (e.g., created widget ID), which is a gap for a creation tool without an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While the schema covers all parameters (100%), the description provides crucial grouping by module_type, indicating which parameters are needed for specific types (e.g., module_id, date_property_id, change_period for type 17). This adds meaning beyond individual parameter descriptions.

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 'Add widget to portal dashboard' and lists the module types, distinguishing it from sibling tools like add_portal_menu_item. It is specific about the resource (dashboard item) and verb (add).

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?

The description does not provide any guidance on when to use this tool versus alternatives, nor does it mention when not to use it. No context about prerequisites or dependencies.

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.

TDQS

B3.2/5.0
Disambiguation5/5

Each tool clearly targets a specific resource and action (e.g., create_form vs. delete_form, add_dashboard_item vs. create_calendar). Overlapping functions like delete_few_records and delete_records_by_filter are distinguished by scope. The descriptions provide sufficient detail to avoid confusion.

Naming Consistency4/5

Most tools follow a verb_noun pattern (create_, delete_, update_, list_, get_). Minor inconsistencies exist (add_ vs create_, set_ for permissions, check_ for status). Overall predictable and readable.

Tool Count3/5

118 tools is unusually large for an MCP server, but each tool addresses a distinct entity or operation within a comprehensive database platform. The count is borderline heavy; while justified by the domain, it may overwhelm agents.

Completeness5/5

The toolset covers creation, retrieval, updating, deletion, and management for all major entities (projects, forms, fields, records, portals, groups, reports, charts, maps, templates, schedules, etc.). Gaps are minimal (e.g., no duplicate_project), and critical workflows like bulk operations and AI site generation are included.

Resources