Skip to main content
Glama

Plecs Webserver

plecs_webserver

Query PLECS webserver scope data and circuit images: retrieve traces, signals, CSV, cursors or bitmaps, apply time range/decimation, and save binary outputs to files for agent use.

Instructions

Undocumented PLECS webserver channel (verified on PLECS 5.0.6).

Commands: getScopeInfo, getTraceNames, getScopeSignals, getScopeCsv, getCursorData, getScopeBitmap, getCircuitBitmap. Pass the command's own arguments in arguments. getScope* take a scope path; getCircuitBitmap takes the model name; getCursorData also accepts [scope, {"Index": 0}] (a bare integer is rejected).

getScopeCsv is base64 CSV; PLECS ignores its own range/size options, so time_range=[t0,t1] and decimate=N are applied here. CSVs above max_rows (default 50000) are written to the MCP output dir and only metadata is returned. Base64 images (getScopeBitmap, getCircuitBitmap, getScopeSignals) are written to save_to (or auto-saved under PLECS_MCP_OUTPUT_DIR) and replaced by saved metadata; image bytes are never returned inline.

Input Schema

NameRequiredDescriptionDefault
commandYes
save_toNo
decimateNo
max_rowsNo
argumentsNo
overwriteNo
decode_csvNo
time_rangeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does a strong job: it discloses PLECS 5.0.6 verification, command argument quirks, local application of time_range and decimate, max_rows file spooling, and that image bytes are never returned inline. It does not state prerequisites such as whether a running PLECS instance or enabled webserver is required, preventing a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and front-loaded: it names the channel, enumerates commands, then covers argument and output-handling quirks. Every paragraph adds actionable information for this complex multi-command tool, with no apparent filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 8-parameter tool with no annotations, 0% schema descriptions, and an output schema, the description covers the command model, key argument behavior, and file-output semantics well. It still omits prerequisites and a couple of parameter meanings, so it is not fully complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It adds useful meaning for command, arguments, time_range, decimate, max_rows, and save_to, including the getCursorData argument format, but it leaves overwrite and decode_csv unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies this as an undocumented PLECS webserver channel and lists the supported commands, so an agent can understand the resource and operation family. It does not explicitly distinguish this tool from potentially overlapping siblings such as plecs_rpc, plecs_scope, or plecs_capture, which keeps it below a 5.

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

Usage Guidelines3/5

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

Usage is implied through the command list and per-command argument notes, such as getScope* taking a scope path and getCircuitBitmap taking a model name. However, the description gives no explicit guidance on when to choose this tool over sibling tools like plecs_rpc or plecs_scope, nor does it state when not to use it.

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