Skip to main content
Glama

nvic_write

Configure NVIC interrupts in STM32CubeMX projects via mxmcp: enable/disable IRQs, set priorities, subpriorities, priority groups, preemption sources, and handler-generated flags.

Instructions

Change NVIC: enable/disable an interrupt, set priority/subpriority/group/preempt source/handler-generated flag, or the priority group.

Input Schema

NameRequiredDescriptionDefault
irqNoIRQ name
saveNoSave afterwards
valueNoValue for the set_* operations
actionYesOperation
project_idYesProject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.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 provided, so the description carries the full burden. It indicates a mutation tool ('Change NVIC') and mentions a save option, but does not disclose permissions required, side effects, reversibility, or other behavioral traits beyond the operation list.

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 single sentence is front-loaded with the core action and lists supported operations without extraneous words. It is appropriately sized for a brief tool description.

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?

Given this is a mutation tool with no annotations and no output schema, the description should provide more behavioral context to ensure safe invocation. It currently only names the operations and omits information about effects, safety, or interaction with sibling tools.

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 the schema already documents all parameters fully. The description adds only a general enumeration of operations, which maps loosely to the action enum but does not provide additional parameter-level meaning.

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?

States a specific verb ('Change') and resource ('NVIC') and enumerates the operations it supports (enable/disable, set priority, etc.). It clearly describes what the tool does, but does not explicitly differentiate from the sibling nvic_read or other NVIC-related tools.

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 lists operations but gives no guidance on when to use this tool versus alternatives (e.g., nvic_read for reading). There are no prerequisites or exclusion conditions mentioned.

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