Skip to main content
Glama

rtos_object_write

Add, update, or delete RTOS objects (tasks, queues, timers, semaphores, mutexes, events) with schema and unique-name validation, then reload and re-save the CubeMX project so the .ioc stays canonical.

Instructions

Add / update / delete an RTOS object (task, queue, timer, semaphore, mutex, event) with schema validation and the GUI's unique-name rule, then let CubeMX reload and re-save the project so the .ioc is canonical.

Input Schema

NameRequiredDescriptionDefault
opYesOperation
apiNoRTOS API label (default: detected)
indexNoObject index for update/delete
fieldsNoField overrides, keyed by field id (name, priority, stackSize, entry, allocationType…)
project_idNoProject id
object_typeYesData id, e.g. tasks / queues / timers / binarySems / mutexes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses schema validation, the unique-name rule, and the CubeMX reload/re-save side effect, but it omits permissions, reversibility, delete consequences, and error behavior.

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 definition is front-loaded with the core operation and then adds only relevant behavioral details in a single efficient sentence. There is no redundant or wasted text.

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?

For a mutation tool with no output schema, the description covers the key behaviors: validation, unique-name enforcement, and the reload/re-save side effect. It could say more about response shape or delete-specific consequences, but the schema is rich and the main operational context is present.

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 coverage is 100%, so the schema already documents the parameters. The description reiterates operations and object types but does not add meaningful semantics for index, fields, api, or project_id 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 states specific verbs (add/update/delete) and the resource (RTOS object), and enumerates the object types it handles. This makes the tool clearly distinguishable from read-oriented siblings such as rtos_objects or schema-oriented siblings such as rtos_schema.

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 mutation context is clear from add/update/delete and the object types, but the description does not explicitly state when to use this instead of related tools like rtos_config, rtos_schema, or rtos_objects. Usage is therefore implied rather than explicitly guided.

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

Deploy Server

Other Tools