Skip to main content
Glama

Rake

List the interrupts of a part

list_interrupts
Read-onlyIdempotent

Returns the interrupt numbers and names of a microcontroller and, where the data has the vendor's device header, the handler names of the startup file. Use it to find the interrupt number for a call that enables or prioritises it, the exact handler name to define, or which peripherals share a vector. Handler names come from device headers, which the data has for ST parts. For other parts the list comes from the file that the registers come from, without handler names.

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": {
      "device": "<device>"
    },
    "name": "list_interrupts"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesThe part, for example STM32F103C8T6, STM32G431KB, nrf52840 or rp2040.
filterNoOnly interrupts whose name or description holds this text, for example USART or DMA. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed-world read, so the description's real value is the data-availability caveat: handler names exist only where the vendor device header is present (ST parts), otherwise the list comes from the register source without handlers. That is genuine behavioral disclosure beyond structured fields, though it does not say what happens for an unknown or misspelled part.

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 payload statement is front-loaded in the first sentence and usage scenarios follow in a logical order. The handler-name caveat is effectively stated twice (once conditionally, once restated as 'For other parts...'), which costs a little density.

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 two-parameter read-only lookup with no output schema, the description covers what comes back (numbers, names, optional handler names), the coverage limitation, and the practical purposes. Missing only error/empty-result behavior for an invalid device string.

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% and both parameters carry their own descriptions, so the schema already does the work. The description adds only indirect framing ('which peripherals share a vector' motivating the filter) without specifying matching behavior such as case sensitivity or whether description text is searched.

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 names a specific verb and resource ('Returns the interrupt numbers and names of a microcontroller') and extends it with the conditional handler-name payload. It is clearly distinct from a sibling like check_interrupt_handlers, which by name is about validating rather than enumerating.

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

Usage Guidelines4/5

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

It gives three concrete selection scenarios: finding the interrupt number for an enable/priority call, finding the exact handler name to define, and seeing which peripherals share a vector. It stops short of stating when-not to use it or naming an alternative tool, so it falls just below the top mark.

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.

Resources