MCP tools¶
These are the tools an agent can use through the MCP server of an application. Names start with zappdev_. The exact set depends on the version of Studio, and a client may show the names with a prefix for the server.
Read the application¶
| Area | Tools |
|---|---|
| Application | get_application_info, get_app_runtime_url, get_application_roles, get_application_permissions, get_application_settings, search |
| Business objects | list_business_objects, list_business_object_classes, list_business_object_enums, list_business_object_associations, list_class_associations, get_class_details, get_class_operation_code, get_enum_details |
| Forms | list_form_models, get_form_model_layout, get_form_model_view_model, get_form_model_controller_actions, get_form_model_datasets, get_form_model_calculated_expressions, get_form_model_conditional_formattings, get_form_model_data_validations, get_form_localized_resources, get_control_html, get_form_control_context_variables |
| Services | list_services, get_service_details, get_service_operation_code |
| API adapters | list_api_adapters, get_api_adapter_details |
| Reports | list_reports, get_report |
| Themes | list_themes, get_theme_variations, get_theme_variation, get_theme_global_variables, get_theme_component_variable, get_theme_component_variation, list_theme_component_variations, get_theme_less_code |
| Unit tests | get_unit_tests, get_unit_test |
| Version control and logs | get_git_diff, get_model_git_diff, list_app_logs, read_app_log |
Change the model¶
Tools that change the model follow a naming pattern: create_, add_, update_, remove_ and set_, followed by what they change.
| Area | Examples |
|---|---|
| Business objects | create_business_object, create_classes, create_enums, add_attributes_to_class, add_class_association, add_operation_to_class, add_values_to_enum, rename_class, set_class_primary_key, remove_class |
| Forms | create_form_model, add_or_update_form_control, move_form_control, add_or_update_form_controller_actions, add_or_update_form_dataset, add_or_update_form_view_model_properties, add_or_update_form_data_validation, update_form_localized_resources |
| Services | create_service, add_service_operation, set_service_protocol_type, set_service_operation_security, set_service_data_contract_status |
| API adapters | create_api_adapter, add_api_adapter_operation, add_api_adapter_struct, update_api_adapter_operation |
| Reports | create_report, add_report_page, add_report_control, update_report_control |
| Themes | add_theme_variation, update_theme_variation, add_theme_global_variable, set_theme_less_code |
| Unit tests | create_unit_test, update_unit_test_operation, remove_unit_test_operation |
| Configuration | add_application_role, add_application_permission, set_application_setting, update_application_role |
Check and build¶
| Tool | What it does |
|---|---|
validate_model |
Validates the whole Intended Design and reports what is wrong. |
run_unit_test, run_model_unit_tests, run_all_unit_tests |
Run unit tests. |
build_application |
Builds the application after the model is valid. |
Learn Mamba¶
| Tool | What it does |
|---|---|
list_mamba_libraries, search_mamba_libraries, get_mamba_library |
List and look up the Mamba libraries. |
docs_overview, docs_business_objects, docs_forms, docs_services, docs_api_adapters, docs_configuration, docs_themes, docs_unit_tests |
Short guides to each model type, written for agents. |
Note
An agent that is new to an application should read an existing model before writing a new one. The tools make this easy: list the forms or classes, read an example, then follow its pattern.