gr4-mcp
Provides tools for building, running, and tuning GNU Radio 4 flowgraphs through the GR4 control plane, including block catalog search, graph editing and validation, session deployment and control, and reading stream data from studio sinks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gr4-mcpbuild a sine source into a frequency sink flowgraph and run it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gr4-mcp
Beta release. gr4-mcp is under active development. Tools, file formats and behaviour may still change, and it has only been tested on one setup (see below). Feedback and bug reports are welcome.
An MCP server (Python, FastMCP) that lets an AI client build,
run and tune GNU Radio 4 flowgraphs through the GR4 control plane (gr4cp_server).
About
gr4-mcp is part of an attempt to make amateur television (ATV) more accessible to the public: instead of wiring signal-processing blocks by hand, you can describe what you want to an AI assistant and let it build, run and tune the GNU Radio 4 flowgraph.
More about the project: curtat.be and atv.curtat.be.
Related MCP server: GR-MCP
Installing GNU Radio 4
gr4-mcp drives an existing GNU Radio 4 installation; it does not install GNU Radio itself. Follow the official instructions:
GNU Radio 4 workspace: https://github.com/gnuradio/gnuradio4
Build guide: https://github.com/gnuradio/gnuradio4/blob/maint-4.0/docs/building.md
gr4-mcp needs the complete workspace build (the full preset), which includes the
control plane (gr4cp_server) and gr4-studio:
git clone https://github.com/gnuradio/gnuradio4.git
cd gnuradio4
cmake --preset full
cmake --build --preset fullThis installs into gnuradio4/install/full; that folder is what gr4-mcp needs
(see Where gr4-mcp finds GNU Radio 4).
Tested on Ubuntu 26.04 LTS with Python 3.14. Other platforms may work but are untested.
How it works
gr4cp_server has no graph-editing API: a session is created from one complete GRC
YAML document, and only block settings can change while it runs. gr4-mcp therefore
keeps the graph being built client-side, validates each edit against the backend's
block catalog, and submits the whole graph on deploy_graph.
Validation matters because the backend accepts these mistakes silently:
Mistake | Backend behaviour | gr4-mcp |
Unknown parameter ( | ignored | rejected with suggestions |
Unknown block type | accepted, fails at start | rejected with type variants |
Bare dynamic port ( | accepted, no data flows | mapped to next free |
Port type mismatch | fails at start | rejected at |
Studio sink without | fails at start | filled in automatically (an HTTP transport the sink supports) |
The server owns its backend: on startup it spawns gr4cp_server on a free loopback
port (the same GR4CP_PORT=0 / GR4CP_PORT_FILE handshake gr4-studio uses) and stops
it when the MCP server exits, including on SIGKILL (Linux PR_SET_PDEATHSIG).
It is independent of any backend gr4-studio is running. The backend log is
<prefix>/var/logs/gr4cp_server-mcp.log.
Setup
cd gr4-mcp
python3 -m venv --without-pip .venv # python3-venv/ensurepip is not required
pip3 --python .venv/bin/python install -e '.[test]'Where gr4-mcp finds GNU Radio 4
gr4-mcp needs the GNU Radio 4 install folder, the one containing bin/gr4cp_server
(for this workspace: /home/peter/gnuradio4/install/full). It looks, in order, at:
a folder given with
gr4-mcp --prefix PATHor registered with theset_gr4_installtool,the
GR4_PREFIXenvironment variable,the folder saved in
~/.config/gr4-mcp/config.json(set_gr4_installwrites it;GR4_MCP_CONFIGoverrides the file location),gr4cp_serveronPATH,../install/fullrelative to this repo (the workspacefullpreset).
Each accepts the install prefix, its bin/ folder or the gr4cp_server binary. If none
is found, backend_status says so and the client can ask you for the folder and call
set_gr4_install(path), which restarts the backend from it and saves the choice.
Using an existing backend (e.g. gr4-studio's)
By default gr4-mcp runs its own private backend. To share one with gr4-studio, so graphs deployed by the AI show up as Studio sessions and Studio's sessions can be read and tuned, attach to it:
the
attach_backendtool:attach_backend("http://127.0.0.1:37945"), orattach_backend("studio")to find a running gr4-studio backend from thegr4cp_server*.logfiles in the install'svar/logs;attach_backend()switches back to a private backend;at startup:
gr4-mcp --backend-url URL(or--backend-url studio), or theGR4_BACKEND_URLenvironment variable.
Attaching stops gr4-mcp's private backend (its sessions are lost). gr4-mcp never stops a backend it attached to, and leaves sessions it deployed there running when it switches away. The URL is not saved, because backend ports change on every launch.
Register with Claude Code:
claude mcp add gnuradio4 -- /home/peter/gnuradio4/gr4-mcp/.venv/bin/gr4-mcp
# or pin the install explicitly:
claude mcp add gnuradio4 -- /home/peter/gnuradio4/gr4-mcp/.venv/bin/gr4-mcp --prefix /home/peter/gnuradio4/install/fullTools
Group | Tools |
Backend / catalog |
|
Graph editing |
|
Files |
|
Sessions |
|
Data |
|
A hello_world prompt walks the client through the example below.
Hello world
new_graph("hello_world")
add_block("gr::blocks::basic::SignalGenerator<float32>", "src",
{"signal_type": "Sin", "sample_rate": 1000, "tone_frequency": 5})
add_block("gr::blocks::basic::Throttle<float32>", "throttle", {"sample_rate": 1000})
add_block("gr::studio::StudioSeriesSink<float32>", "scope")
connect("src", "throttle")
connect("throttle", "scope") # -> [throttle, out, scope, in#0]
deploy_graph() # session running, stream "scope" ready
read_stream() # scope: rms ~0.707, dominant_period_samples ~200
update_block_settings("src", {"tone_frequency": 10})
save_graph("hello_world.gr4s") # open in gr4-studioReading stream data
read_stream reads what the gr::studio::* sinks currently hold, through the
backend's /sessions/{id}/streams/{id}/http endpoint. Stream ids are the sink block
names. Results are summarized to keep them small:
Sink | Payload format | Summary |
|
| per channel: min/max/mean/rms/std, |
|
| strongest |
|
| stats and peaks of the latest row |
|
| x/y stats, downsampled points |
|
| values as-is |
max_points sets the downsampling (default 64); raw=True returns one stream's full payload.
StudioAudioSink only supports the websocket transport and cannot be read this way.
A power spectrum needs fft_size * num_averages samples (8192 by default) before its first frame.
examples/ holds the hello world with added noise as .gr4s (open in gr4-studio) and .gr4c.
Tests
.venv/bin/pytest -qtests/test_graph.py runs offline against a catalog snapshot.
tests/test_hello_world.py drives the real server over MCP stdio: it builds the graph
above, checks via read_stream that a unit sine with the right period arrives at the
scope, changes the frequency live and sees it in the stream, saves and reloads both file
formats, checks spectrum/scalar/websocket sinks, and checks the backend is stopped afterwards.
tests/test_search.py checks search_blocks ranking against the full catalog (e.g. "noise"
finds AwgnChannel and PhaseNoise first). tests/test_attach_backend.py attaches to a separately started backend via
attach_backend("studio"), deploys and reads a stream there, switches back, and checks the
attached backend and its session were left alone. tests/test_streams.py covers the payload summaries offline, tests/test_install.py the
install lookup order. tests/test_register_install.py starts gr4-mcp where no install can
be found, registers one with set_gr4_install, and checks a fresh server reuses the saved folder.
Known backend limitations
A graph whose blocks all finished still reports
running, and its blocks stop answering settings requests (timeouts).GET /blocksreports a mangledcategoryfor templated types containing::; gr4-mcp derives categories from the block id instead.Live settings reject arrays.
Not yet implemented
Studio expressions other than a plain variable name are dropped on
.gr4sload.
License
gr4-mcp is released under the MIT License.
GNU Radio 4 itself, and the GR4 logo used in docs/social-preview.png, belong to the
GNU Radio project and are covered by their own licenses.
Available Tools
23 toolsadd_blockAdd BlockA
Add a block instance to the current graph.
block_type: exact catalog id, e.g. "gr::blocks::basic::SignalGenerator". name: instance name used in connections and live settings (default: derived, e.g. signal_generator0). parameters: only values that differ from the defaults, e.g. {"sample_rate": 48000.0}.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| block_type | Yes | ||
| parameters | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden but discloses little beyond the happy path: it does not say whether the call fails on an unknown block_type, whether a graph must already exist, whether the block is auto-connected, or what side effects occur in the live session. Only the name-derivation default is disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One scope sentence followed by three labeled parameter notes, each carrying non-obvious information. Nothing is repeated from the schema and nothing is padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The existence of an output schema removes the need to describe return values, and the parameter notes are thorough. However, for a mutation on graph state with zero annotation coverage, error behavior and graph prerequisites are missing pieces an agent would want.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, yet all three parameters are explained with concrete formats and examples: block_type's exact catalog-id syntax, name's derived default (signal_generator0-style), and the important rule that parameters should contain only values differing from defaults. This is exactly the compensation a bare schema needs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Names a specific verb and resource ("Add a block instance to the current graph") that is clearly distinct from siblings like new_graph, remove_block, and connect. It does not explicitly say how it differs from set_parameters or update_block_settings, but the action itself is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implies usage context by anchoring to "the current graph" and requiring an exact catalog id, which suggests search_blocks/describe_block should come first, but it never states prerequisites or when to prefer this over alternatives like load_graph. Usage is inferable rather than instructed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
attach_backendAttach BackendA
Attach to an already running gr4cp_server (e.g. the one gr4-studio started), or go back to a private one.
url: "http://127.0.0.1:37945" (the http:// is optional); "studio" to find a running backend announced in the GR4 install's var/logs (gr4-studio writes gr4cp_server.log there); or omit it to return to a backend managed by gr4-mcp. Attaching stops the managed backend (its sessions are lost). gr4-mcp never stops an attached backend, and its sessions are shared with other clients: list_sessions shows gr4-studio's too. The URL is not saved, because backend ports change on every launch.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does so: it discloses that attaching stops the managed backend and loses its sessions, that gr4-mcp never stops an attached backend, that sessions are shared with other clients, and that the URL is not persisted because ports change per launch. These are exactly the side effects and lifecycle constraints an agent needs before calling a switching tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The first sentence front-loads both directions of the operation and the rest is dense with non-redundant detail. Minor deduction for awkward line-wrapped formatting that splits the url explanation across lines, making it slightly harder to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter backend-switching tool with an output schema, the agent gets everything needed to choose a target and understand consequences. Missing only failure-mode guidance (invalid URL, 'studio' not found, unreachable host), which would matter for reliable invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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, and it does: it specifies the URL format (http:// optional), the literal sentinel value 'studio' with its lookup location (GR4 install var/logs), and the meaning of omission (return to gr4-mcp managed backend, which is the default). This fully documents the single parameter beyond the bare anyOf string schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Attach to an already running gr4cp_server') plus the inverse operation ('or go back to a private one'), so an agent can distinguish it from backend_status or list_sessions without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives the three concrete modes of the url argument (explicit URL, 'studio' lookup, omit for the managed backend) and contextualizes when each applies (gr4-studio launched it). It lacks explicit exclusions, such as what to do if the URL is unreachable or which sibling to call first to discover a running backend.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
backend_statusBackend StatusA
Show the GNU Radio 4 install in use, the managed gr4cp_server backend (URL, pid, log), catalog size and schedulers.
If no GNU Radio 4 install is found, the result says so: register one with set_gr4_install.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description must carry behavioral disclosure. 'Show' implies a read-only diagnostic, and the explicit note that a missing install is reported rather than erroring is a meaningful behavioral trait with remediation. However, there is no explicit statement that the tool performs no mutation, nor any handling of the case where the managed backend is not running (which the sibling attach_backend suggests is possible).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences: the first front-loads the full inventory of reported items, the second handles the empty-install edge case with a pointer to the fix. Every clause earns its place and nothing is padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters and an output schema present, the description needn't explain return values, and it still summarizes them well plus the missing-install failure mode. The remaining gap is that a managed backend may not be attached (per the attach_backend sibling) and the description does not say what happens then or which tool to call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so per the baseline this scores 4. No parameter semantics are needed or expected, and the description correctly spends no space on arguments.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Show') and enumerates exactly what is reported: the GNU Radio 4 install in use, the managed gr4cp_server backend with URL/pid/log, catalog size and schedulers. This is far more concrete than the bare name, but it never explicitly contrasts itself with adjacent status/listing siblings such as session_status or list_sessions, leaving the agent to infer the boundary.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives one concrete conditional path: when no GR4 install is found, the result says so and the agent should call set_gr4_install. That is a genuinely useful when-not/alternative pairing, but it covers only a failure branch — there is no statement of when to call this rather than session_status, list_sessions, or attach_backend in the normal case.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
connectConnectA
Connect source block's output port to target block's input port.
Ports may be omitted when the block has a single port of that direction. For dynamic ports pass the base name ("in") to take the next free index, or an explicit handle like "in#1". Port types must match exactly.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| source_port | No | ||
| target_port | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It discloses useful mechanics (single-port omission, dynamic base-name resolution, explicit 'in#1' handles, exact type matching), but omits side effects (graph mutation), error/failure behavior beyond type mismatch, and idempotency. Partial disclosure for a no-annotation mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the primary action, then layers port rules efficiently. Three sentences, each earning its place, with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Output schema exists, so return values needn't be explained, and the port semantics are well covered for a tool with dynamic ports. Gaps remain around mutation side effects and error conditions, which matter given zero annotation coverage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It explains source_port/target_port behavior thoroughly (omission, dynamic base name vs. explicit handle), but leaves the meaning of source/target ambiguous (block ID vs. name) and never clarifies their string format.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a precise verb and resource: 'Connect source block's output port to target block's input port.' This clearly distinguishes it from siblings like disconnect, add_block, and set_parameters without ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides operational context for port omission and dynamic port naming, but gives no guidance on when to use connect versus alternatives like add_block or set_parameters, nor when it would fail or when to prefer another approach. Usage is implied rather than routed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
control_sessionControl SessionB
Start, stop, restart or delete a session (default: the current graph's session).
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden — and it discloses almost nothing beyond the verbs themselves. It does not say whether delete is irreversible, what happens to a running session's state or streams on stop, whether restart preserves configuration, what permissions or backend attachment are required, or what happens if the target session is already stopped or does not exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that front-loads the operation set and appends the scoping default in parentheses. Nothing is wasted and the parenthetical default is placed exactly where it is needed.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be described, and the two-parameter surface is small. But for a destructive mutation tool with zero annotation coverage, the definition should say more about consequences (delete semantics, state loss on stop) and prerequisites than a single clause provides.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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: it does so for session_id by stating the default is the current graph's session, which is genuinely useful context not present in the schema. The action parameter is self-describing via its enum, but neither parameter is explained beyond that — no id format, no note on whether session_id is honoured for 'start'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names concrete verbs (start, stop, restart, delete) acting on a specific resource (a session), and the scope default ("the current graph's session") is stated. It is clear what the tool does, but it does not distinguish itself from the related siblings list_sessions or session_status, which an agent might reasonably confuse it with.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: the tool is clearly the mutation counterpart to the read-only session siblings, but neither the description nor anything else explicitly says when to use this versus list_sessions/session_status. The note that the default target is the current graph's session is the one piece of real targeting guidance; there are no preconditions (e.g. session must exist to stop/restart) and no exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
deploy_graphDeploy GraphA
Validate the graph, create a backend session from it and (by default) start it.
replace_previous stops and deletes the session previously deployed from this graph. A session whose start fails is deleted again; the runtime error is returned.
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | ||
| replace_previous | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description does real work: it discloses the default start behavior, that replace_previous stops AND deletes the previously deployed session (a destructive side effect), and that a failed start deletes the new session and surfaces the runtime error. Missing only auth/permission requirements and whether the call is idempotent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, front-loaded with the primary behavior and followed by the two conditional/side-effect clauses. No filler, no repetition of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-boolean-parameter deployment tool with an output schema, the description covers defaults, the destructive replace behavior, and failure cleanup. Only preconditions (auth, graph validity requirements) are left unstated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate, and it largely does: replace_previous is explained in terms of exactly what it stops and deletes, and 'by default' conveys start=true. It does not explicitly describe start=false (create without starting), leaving that one inference to the reader.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names specific operations (validate, create a backend session, start it) on a specific resource (the graph), which clearly separates it from siblings like validate_graph, save_graph or control_session. The multi-step nature is stated up front, though it does not explicitly say how it differs from chaining validate_graph + new session.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the operation sequence: this is the 'make it live' step, and replace_previous=default-true signals redeploy semantics. However, no alternative is named — nothing says to use validate_graph for a dry run, control_session to start/stop an existing session, or how to choose replace_previous=false.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
describe_blockDescribe BlockA
Ports, parameters (type, default, enum choices) and type variants of one block type.
Advanced parameters (chunk sizes, compute domain, ...) are hidden unless include_advanced.
| Name | Required | Description | Default |
|---|---|---|---|
| block_type | Yes | ||
| include_advanced | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses useful behavioral detail that advanced parameters are hidden unless include_advanced is set, and it implies a read-only descriptive operation, but it does not state permissions, read-only status explicitly, or how block type names should be obtained.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tightly focused sentences with zero filler. The main output scope is front-loaded, followed immediately by the include_advanced behavior.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, has an output schema, and the description explains what kind of information is returned plus the include_advanced conditional behavior. It could be more complete by indicating where valid block_type values come from, but the essential call context is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It does so reasonably well: 'one block type' clarifies block_type, and the second sentence explicitly explains the effect of include_advanced on the returned content.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb and resource: it describes ports, parameters, and type variants of one block type. It is distinct enough from generic graph tools, but it does not explicitly differentiate itself from siblings such as get_block_settings or search_blocks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use this tool versus alternatives like get_block_settings or search_blocks. The only usage-adjacent detail is the include_advanced flag behavior, which is parameter guidance rather than tool-selection guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
disconnectDisconnectB
Remove connections from source to target (optionally only between the given ports).
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes | ||
| source_port | No | ||
| target_port | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations, so description carries the burden. It clearly states the destructive action (remove) and the optional port scoping (default removes all connections between source and target; with ports, only those). However, it omits critical behavioral details: error handling if no connection exists, reversibility, permissions, and whether the operation is atomic.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence that conveys the action and optional scoping without waste. Efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive graph mutation tool with no annotations and 0% schema coverage, the description is too sparse. Output schema covers return values, but the description should specify what source/target refer to and error behavior. It provides only the bare minimum.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 0% description coverage. The description partially clarifies the optional port parameters ('optionally only between the given ports'), explaining that they restrict the removal. But it does not explain the core source and target parameters—whether they are block names, IDs, or something else—leaving the required parameters ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (remove) and resource (connections) with scope (source to target), but does not explicitly differentiate from the sibling connect tool, which is the likely inverse. An agent can tell it's about removal, but sibling routing isn't addressed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no alternatives, no prerequisites. The description only states the action; it doesn't say when to choose disconnect over connect or other tools, nor does it mention what happens if there are no connections.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_block_settingsGet Block SettingsA
Read the live settings of a block in a running session, addressed by its instance name.
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the burden: 'Read' implies non-mutating and 'in a running session' hints at a runtime precondition, which is useful. It does not disclose failure behavior when the session is absent or stopped, nor how the default session is resolved, nor confirm the read-only profile explicitly.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the runtime scoping qualifier comes right after the core action. Nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need no explanation, and the core action plus targeting are clear. The gaps are the unaddressed session_id semantics and the lack of any stated runtime precondition, which matter for a live-session read tool with no annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate. It helpfully clarifies that `block` is an instance name rather than a block type or ID, but `session_id` is never mentioned, so the meaning of defaulting to null (current/default session vs auto-resolve) is left undocumented in both schema and description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('read the live settings of a block') plus scope ('in a running session'), which implicitly separates it from update_block_settings and from static metadata tools. It never names a sibling, so an agent must infer the contrast with describe_block or list_categories.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'In a running session' implies the live-state context, but there is no explicit when-to-use versus describe_block (static info) or session_status, and no stated prerequisites such as needing an attached/active session. Usage is inferable rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_categoriesList CategoriesA
List block categories (e.g. blocks/math, blocks/filter, studio) with block-type counts.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the behavioral burden, and it does disclose that categories are returned along with block-type counts. It does not state that this is a side-effect-free read or say anything about ordering/size of the returned list, but for a zero-parameter listing tool the risk surface is small.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the verb and resource, with parenthetical examples and the return payload stated compactly. Nothing wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return structure need not be explained, and with zero parameters and no annotations there is little else to cover. The only missing piece is ordering/determinism of the returned list.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The category examples are illustrative of output, not inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (List) and resource (block categories) and grounds it with concrete examples (blocks/math, blocks/filter, studio) plus what comes back (block-type counts). An agent can distinguish it from siblings like search_blocks or get_block_settings, though the description never explicitly contrasts them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no mention of prerequisites, and no pointer to alternatives such as search_blocks for finding individual blocks. The only signal is implied by the verb 'List'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_sessionsList SessionsA
List all sessions on the backend (id, name, state, last_error).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
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 implies a read-only listing and names returned fields, but it does not state whether a backend must be attached, whether results are paginated or ordered, or what permissions are needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence that clearly states the action, scope, and returned fields with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a no-parameter listing tool with an output schema, the description is sufficient to call it correctly. It could be slightly stronger by mentioning backend connection prerequisites, but no critical context is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline is 4. The description does not need to explain parameter semantics and correctly introduces no extra parameter behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb and resource ('List all sessions on the backend') and lists the returned fields, so the agent knows exactly what the tool does. It does not explicitly contrast itself with the sibling session_status, but 'all sessions' provides some distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use this tool versus session_status, control_session, or backend_status. The description implies a listing use case but offers no exclusions or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
load_graphLoad GraphA
Load a .gr4s (Studio document) or .gr4c / .grc / .yaml (GRC YAML) file as the current graph.
Unknown blocks, unsupported expressions and invalid connections are skipped and reported.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does disclose a genuinely important behavior: unknown blocks, unsupported expressions and invalid connections are 'skipped and reported' rather than causing failure. It stops short of saying what happens to the previously loaded graph or what error surfaces if the path is bad.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the core action and file formats, followed by the fallback behavior. Nothing is redundant or padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need no explanation, and the skip-and-report behavior is covered. However, for a state-changing load with no annotations, the description omits whether the current graph is discarded, whether unsaved edits are at risk, and what happens on an unreadable or missing file.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single `path` parameter has 0% schema description coverage, so the description must compensate — and it does, by naming the file extensions accepted for that path (Studio .gr4s vs GRC YAML .gr4c/.grc/.yaml). It does not clarify absolute vs relative paths or quoting requirements.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Load') and resource ('a .gr4s / .gr4c / .grc / .yaml file as the current graph'), and enumerates the accepted formats, which plainly separates it from new_graph, save_graph and show_graph. It does not name a sibling explicitly, but the operation is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: the phrase 'as the current graph' suggests this replaces the active graph, but the description never says when to choose it over new_graph or how it relates to save_graph/deploy_graph. No preconditions (file must exist, path format, whether unsaved work is lost) are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
new_graphNew GraphB
Start a new, empty flowgraph (replaces the current unsaved one).
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | untitled | |
| description | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full behavioral burden, and it does disclose the key destructive trait: the current unsaved graph is replaced. It does not say whether there is a confirmation prompt, whether saved graphs on disk are unaffected, or whether the returned object identity matters — real gaps for a no-annotation mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the scope and the destructive side effect appear immediately. Nothing in the sentence could be removed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output schema exists, so return values need not be explained, and the core novelty plus destructive behavior are covered. What remains missing is parameter guidance in the absence of any schema descriptions, which leaves the tool slightly under-specified for a mutation call.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for two parameters, so the description must compensate and it says nothing about 'name' or 'description'. An agent cannot infer from the text whether the name defaults to 'untitled', whether an empty description is acceptable, or whether either affects the created graph's identity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: creates a new, empty flowgraph. The parenthetical adds the crucial scope that it is empty and replaces the unsaved current graph, which distinguishes it from load_graph in intent. It stops short of explicitly naming the sibling it differs from, so it lands at 4 rather than 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: call it when you want a blank graph rather than an existing one, and the note about replacing the unsaved graph hints this is a starting point. However, it never states when to prefer load_graph or save_graph first, nor whether unsaved work should be saved beforehand — that routing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_streamRead StreamA
Read the latest data from Studio sink blocks (scope, spectrum, scalar, waterfall, XY) of a running session.
stream: stream id, which is the sink block's name (default: every stream in the session). By default each stream is summarized: per-channel min/max/mean/rms/std, a dominant period in samples for time series (frequency = sample_rate / period), the strongest peaks for spectra, and at most max_points downsampled values. raw=True returns the full payload of a single stream instead (can be very large).
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| stream | No | ||
| max_points | No | ||
| session_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden and mostly succeeds: it explains that output is summarized by default, lists summary statistics, describes dominant period and peak behavior, notes that raw returns a full single-stream payload that can be very large, and caps downsampled points via max_points. It does not explicitly state read-only safety or error behavior, but the behavioral detail is strong.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the tool's purpose, then efficiently details stream selection, default summarization, and raw behavior. It is dense but not bloated; each sentence adds useful operational context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is largely complete for understanding output summarization versus raw payloads, and an output schema exists so return values need not be explained. However, it omits session_id semantics and does not clarify how to target a specific running session beyond the phrase 'running session'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry all parameter meaning. It documents stream as a sink block name defaulting to every stream, explains raw=True returns a single stream's full payload, and mentions max_points in the downsampling behavior. However, session_id is never described, leaving one of four parameters undocumented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb and resource: read the latest data from Studio sink blocks (scope, spectrum, scalar, waterfall, XY) of a running session. It distinguishes this data-reading operation from sibling tools like get_block_settings and list_sessions by focusing on sink output streams.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage guidance is implied through parameter behavior: default is all streams summarized, raw=True returns a single stream's full payload. However, it does not explicitly say when to choose this tool over siblings such as get_block_settings or session_status, nor does it state prerequisites beyond 'running session'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
remove_blockRemove BlockB
Remove a block and every connection touching it.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does disclose the most important behavioral trait: deletion cascades to all touching connections. It omits irreversibility, permission requirements, and what happens if the block does not exist or is a required endpoint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the action and immediately followed by the consequence. No filler and nothing that could be trimmed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists so return values need no explanation, and with a single parameter and simple structure the description covers the essential destructive semantics. The main residual gap is identifying the block correctly by 'name', which is left entirely to the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 single 'name' parameter, and it says nothing about it — not whether it is a block name vs. an ID, its uniqueness scope, or its format. The one substantive detail (cascade) is about effects, not the parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear specific verb + resource ('Remove a block') with an added scope qualifier ('and every connection touching it') that distinguishes it from the sibling 'disconnect', which removes a single connection. It stops short of explicitly naming that alternative, so it's clear rather than fully differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no prerequisites, and no mention of when to prefer 'disconnect' (targeted edge removal) over this cascading removal. An agent must infer the choice from the sibling name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
save_graphSave GraphA
Save the graph. The extension picks the format:
.gr4s gr4-studio document (open it in Studio to view and edit), .gr4c inline GRC YAML, exactly what is submitted to the backend.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. It usefully discloses that the extension chooses the format and that .gr4c is inline GRC YAML exactly as submitted to the backend. However, it does not state whether saving overwrites an existing file, whether parent directories are created, or what permissions or side effects apply to this write operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very short and front-loaded with the core action. The format list is compact and each detail directly helps the agent choose between .gr4s and .gr4c, with no wasted sentences.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter save tool with an output schema, the description covers the essential call behavior: save the graph and use the extension to select the format. The main remaining gap is overwrite and filesystem side-effect behavior, which is relevant for a write operation but less critical given the low complexity and existing output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It does add meaningful semantics by explaining that the file extension determines the output format, which directly informs how the required path parameter should be chosen. It still does not describe the path parameter itself, such as whether it must be a full file path or whether directories must already exist.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Save the graph.' It also explains that the file extension controls the output format, distinguishing .gr4s from .gr4c. It does not explicitly differentiate this tool from siblings like load_graph, deploy_graph, or show_graph, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the action 'Save the graph' and by the format guidance for .gr4s and .gr4c, but there is no explicit when-to-use guidance or comparison to sibling tools such as deploy_graph or validate_graph. An agent can infer that this writes a graph to a path, but alternatives are not addressed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_blocksSearch BlocksA
Search the block catalog by words in the block name, category or summary; best matches first.
Every word must match. Whole words in the block name rank highest, then the first
sentence of the summary. Common radio terms are understood too, e.g. "noise" also finds
AWGN, "scope" the series sink, "fm demod" the quadrature demodulator, "mixer" the rotator.
Results are grouped per block family; each lists its concrete block_types
(one per sample type, e.g. Add, Add<complex>). Use one of
those exact strings with describe_block / add_block.
category: prefix filter such as "blocks/math" or "studio".
port_type: only blocks with a port of this type, e.g. "float32", "complex".
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| category | No | ||
| port_type | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does substantial work: it discloses AND semantics ('every word must match'), the ranking model (whole words in name, then first sentence of summary), synonym expansion ('noise' finds AWGN), and the grouped-per-family return shape. The main omission is how `limit` affects result truncation or paging, which matters for a search endpoint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core purpose is front-loaded, followed by matching rules, then the grouping/output contract, then per-parameter notes. Every sentence conveys useful information, though the description is dense and slightly long; it remains reasonably structured rather than bloated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with an output schema already present, the description covers enough: matching semantics, ranking, grouping, and filter usage. Since return values are documented by the output schema, the only real gap is the unexplained `limit` behavior (pagination/truncation).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It does so well for three of four parameters: `query` (words matched against name/category/summary), `category` (prefix filter with example values), and `port_type` (filter with example types). `limit` is never mentioned in the description, leaving one parameter to be inferred from its name and default alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Search the block catalog by words in the block name, category or summary') and immediately describes ranking. It also names the downstream siblings (describe_block / add_block) and the exact strings they consume, so an agent can distinguish this lookup tool from the mutation/graph tools in the sibling list.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explains the intended workflow clearly: search here, then feed a concrete block_type string to describe_block or add_block. It also documents when to use the `category` prefix filter and `port_type` filter. There are no explicit exclusions or comparison against list_categories, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
session_statusSession StatusB
State of a session (default: the one deployed from the current graph), incl. stream endpoints.
Note: a graph whose blocks all finished still reports "running".
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It delivers one genuinely valuable caveat — that a graph whose blocks all finished still reports "running" — which prevents a real misinterpretation, but it omits whether this is a side-effect-free read, what errors occur for an unknown session_id, or anything about auth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, default behavior front-loaded, zero filler. 'incl. stream endpoints' is slightly compressed and reads as a dangling fragment, which keeps it just short of ideal.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-value detail is not needed, and the default-plus-status-quirk note covers the main behavioral risk. What's still missing for a status tool among many session-related siblings is any disambiguation from list_sessions and control_session.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% for the single session_id parameter, whose schema entry is a bare nullable string with default null. The description partially compensates by explaining what the default resolves to (the session deployed from the current graph), but it gives no format or acceptance details for an explicit id.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States the resource (session) and what it returns (state, including stream endpoints), with a scope note about the default session. It is clear on its own, but it never names or contrasts with the obvious alternatives in the sibling list (list_sessions, control_session, backend_status), so an agent must infer the boundary itself.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The parenthetical 'default: the one deployed from the current graph' tells you what happens when you omit session_id, which is a genuine usage cue. However, there is no explicit statement of when to pick this over list_sessions (enumerate sessions) or control_session (act on a session), so usage is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_gr4_installSet Gr4 InstallA
Register the GNU Radio 4 install to run the backend from, e.g. "/home/peter/gnuradio4/install/full".
Accepts the install prefix, its bin/ folder or the gr4cp_server binary. The backend is restarted from that install (running sessions are lost) and the block catalog reloaded. persist=True saves it to the gr4-mcp config file so later runs use it too (the GR4_PREFIX environment variable still takes precedence there).
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| persist | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral burden and does so well: it warns that the backend is restarted, running sessions are lost, the block catalog is reloaded, persist saves the setting to config, and GR4_PREFIX still takes precedence.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: it states the core action first, then acceptable path forms, side effects, and persistence behavior. Every sentence adds relevant operational detail without waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the important operational facts an agent needs before calling this side-effecting tool: accepted path forms, restart/session-loss implications, catalog reload, persistence, and environment-variable precedence. An output schema exists, so return-value details are appropriately not repeated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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. It explains that path may be the install prefix, its bin/ folder, or the gr4cp_server binary, and it explains that persist=True saves the choice to the gr4-mcp config file; it does not explicitly describe persist=False behavior beyond implication.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: register a GNU Radio 4 install for the backend to run from, with a concrete example path. It is clear what the tool does, but it does not explicitly differentiate itself from related siblings such as attach_backend or backend_status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context for when this tool is relevant: setting the GNU Radio 4 install that the backend should run from. It does not explicitly state when to prefer alternatives or when not to use it, so it falls short of full alternative-routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_parametersSet ParametersA
Set parameters on a block in the graph (validated against the catalog).
A value of null resets the parameter to the block default. This edits the graph only; use update_block_settings to change a running session.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| parameters | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden and delivers well: it discloses that values are validated against the catalog, that null resets to the block default, and that the change is graph-only rather than live-session. It stops short of stating permissions, failure behavior when validation fails, or whether changes are reversible.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the primary action and followed by the two facts an agent actually needs (null reset, graph-vs-session routing). Nothing is redundant or padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations, an output schema available, and a nested-object parameter, the description covers the critical semantics — validation, reset behavior, and graph-only scope. The remaining gap is the meaning of `name` and the shape of `parameters`, which no structured field documents.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 and does partially: it explains null-value reset semantics and catalog validation for the nested `parameters` object. It never clarifies that `name` identifies the target block (by id or name) or what keys the parameters object accepts, leaving meaningful gaps for a 0%-coverage schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource — setting parameters on a block in the graph — and qualifies the scope with 'validated against the catalog' and 'edits the graph only'. The sibling update_block_settings is named and differentiated, so an agent can distinguish it without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly routes the agent: 'This edits the graph only; use update_block_settings to change a running session.' That names the alternative and the condition that selects it, leaving no ambiguity about graph-state vs. session-state edits.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
show_graphShow GraphA
Current flowgraph: blocks with their set parameters and ports, plus connections.
include_grc adds the GRC YAML that deploy_graph would submit.
| Name | Required | Description | Default |
|---|---|---|---|
| include_grc | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden of behavioral disclosure. It makes the returned contents clear and explains the include_grc option, but it does not explicitly confirm read-only behavior, side effects, or permission requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tight sentences, front-loads the primary output, and uses the second sentence only to explain the sole optional parameter. There is no redundant restatement of the tool name or schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With one optional parameter and an output schema, the description is largely complete: it states what is returned and clarifies the only parameter. The main remaining gap is the lack of explicit positioning among sibling graph tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description compensates by explaining that include_grc adds the GRC YAML that deploy_graph would submit. This gives the boolean parameter meaningful context beyond its type and default.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description identifies the resource precisely: the current flowgraph, including blocks, set parameters, ports, and connections. It also clarifies the optional GRC YAML output. It stops short of explicitly distinguishing this from sibling inspection tools such as get_block_settings or validate_graph.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: call this to inspect the current graph, and set include_grc when the YAML that deploy_graph would submit is needed. There is no explicit when-to-use/when-not guidance or comparison to sibling graph-inspection tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_block_settingsUpdate Block SettingsB
Change settings of a block in a running session, e.g. {"tone_frequency": 10.0}.
When the session belongs to the current graph, values are validated against the catalog first and also written into the graph so a later save/deploy keeps them.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | staged | |
| block | Yes | ||
| settings | Yes | ||
| session_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It usefully discloses catalog validation and that values are written into the graph for later save/deploy, but it omits critical behavior around staged vs immediate mode, session prerequisites, and failure or permission behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tight sentences with the primary action front-loaded and a useful conditional side-effect note second. The inline JSON example is efficient and earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a mutation-like tool with no annotations, 0% schema description coverage, and an important mode enum that is not described. The output schema reduces the need to explain return values, but the description remains incomplete for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for four parameters, so the description must compensate and largely does not. It gives an example for settings and hints at session context, but does not explain the mode enum values, session_id selection, or how block is identified.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: changing block settings in a running session, with a concrete settings example. It does not distinguish this tool from similar siblings such as set_parameters or get_block_settings, so the purpose is clear but not fully disambiguated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by 'in a running session' and the current-graph condition, but the description never explicitly says when to use this tool instead of set_parameters or get_block_settings. There are no stated exclusions or prerequisites beyond the vague current-graph note.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_graphValidate GraphA
Check the graph locally: missing blocks, port counts, unconnected blocks, no sink.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description has to carry the full burden; 'Check ... locally' does imply a non-destructive, client-side operation that doesn't touch the backend, which is useful. However it never explicitly states it is read-only, whether it mutates the graph, or whether failures block subsequent operations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence listing the four check categories with zero padding. The fragmentary style is terse but every element earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output schema covers return values and there are no parameters, so the remaining gaps are small but real: whether a graph must be loaded/open first, and what the agent should do with a failed validation. For a simple validator this is adequate but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so the baseline of 4 applies; there is nothing for the description to disambiguate. The description does not misuse the space with parameter talk.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource (validate the graph) and enumerates exactly what is checked: missing blocks, port counts, unconnected blocks, no sink. That level of specificity distinguishes it from siblings like show_graph or save_graph, though it never names those siblings explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The word 'locally' implies this is a pre-deploy/pre-save check rather than a backend operation, but no when-to-use or when-not-to-use guidance is given and no alternative (e.g. deploy_graph) is named. Usage must be inferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
23 tool updates
v0.1.0- First observed
add_block - First observed
attach_backend - First observed
backend_status - First observed
connect - First observed
control_session - First observed
deploy_graph - First observed
describe_block - First observed
disconnect - First observed
get_block_settings - First observed
list_categories - First observed
list_sessions - First observed
load_graph - First observed
new_graph - First observed
read_stream - First observed
remove_block - First observed
save_graph - First observed
search_blocks - First observed
session_status - First observed
set_gr4_install - First observed
set_parameters - First observed
show_graph - First observed
update_block_settings - First observed
validate_graph
TDQS
Scored across 23 tools
Most tools have a clearly distinct target: catalog browsing (search_blocks, describe_block, list_categories), graph editing (add_block, connect, set_parameters), and runtime control (deploy_graph, control_session, read_stream). The one risky pair is set_parameters vs update_block_settings and get_block_settings vs show_graph, but their descriptions explicitly contrast graph-edit vs live-session semantics. Only minor boundary friction remains.
The dominant pattern is snake_case verb_noun (list_categories, add_block, remove_block, save_graph, deploy_graph, read_stream). Deviations are minor and readable: noun-first status tools (backend_status, session_status) and a few verbless/bare-verb names (new_graph, connect, disconnect). No casing mixing.
23 tools is on the heavy side, but the domain genuinely spans four sub-areas (block catalog, graph editing, deployment/sessions, backend install management) and each tool covers a real operation. Nothing looks redundant enough to remove, though a couple of status tools could conceivably be merged.
The lifecycle is well covered end to end: discover blocks, build/edit a graph, validate, save/load, deploy, control the session, and read live data, plus backend install and attach management. Small gaps exist around exposing graph export/serialization details or bulk session cleanup, but agents can work around them with existing tools.
Maintenance
Related MCP Connectors
- FlowstepOAuthai.flowstep
Generate, inspect, and manage Flowstep UI designs directly from your AI assistant.
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables control of Software Defined Radios and decoding of radio protocols through an AI-friendly Model Context Protocol interface, supporting RTL-SDR and HackRF hardware for signal analysis and protocol decoding.19 PyPI30MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables natural language-driven creation and management of GNU Radio flowgraphs with validated block connections and parameter configurations. It provides tools for searching the GNU Radio block library, detecting SDR hardware, and generating functional signal processing code.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language control of a live GNU Radio SDR flowgraph, allowing users to tune frequencies, adjust gain, capture IQ samples, analyze spectra, and detect signals through an MCP-compatible client.2MIT
- AlicenseBqualityDmaintenanceConnects AI assistants to the Node-RED Admin API, enabling flow inspection, node management, graph analysis, debug capture, and rollback operations through natural language.3720 npmMIT