Skip to main content
Glama

Mne Compute Noise Cov

mne_compute_noise_cov

Compute a noise covariance matrix from Epochs baseline data to prepare for source localization inverse modeling.

Instructions

Compute a noise covariance matrix from the Epochs baseline (data up to tmax seconds, default 0). Needed before building an inverse operator for source localization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoepochs
tmaxNo
cov_nameNonoise_cov

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description must fully carry behavioral disclosure. It clarifies that the baseline is data up to tmax seconds, but it does not disclose whether it stores the result in the session under cov_name, whether it mutates the Epochs object, or what session state is required.

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 description is two sentences with no filler. The core action and the key tmax/default detail are front-loaded, and the second sentence adds a useful downstream purpose without repetition.

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?

The workflow anchor ('needed before building an inverse operator') and the existence of an output schema cover some context. However, the description still leaves important gaps for an agent invoking it in a pipeline, such as requiring an existing Epochs object and explaining how the covariance is stored for later steps.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the missing parameter documentation. It adds meaning for tmax ('data up to tmax seconds, default 0'), but it leaves `name` and `cov_name` semantically undocumented; those are only inferable from their names and defaults.

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?

The description states a clear verb ('Compute') and a specific resource ('a noise covariance matrix from the Epochs baseline'), making the primary action and input type obvious. It does not explicitly differentiate itself from related tools like mne_compute_connectivity, but the output and input are specific enough to avoid major confusion.

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?

The description provides useful pipeline context: the covariance matrix is needed before building an inverse operator for source localization, so an agent knows when to use it. It does not discuss exclusions or alternatives, but for this tool the alternatives are not obvious and the workflow context is clear.

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