Skip to main content
Glama
proteus-mcp
by Fretzzz

read_project_file

Read-only

Read text entries from a Proteus .pdsprj project archive, such as PROJECT.XML or firmware source files, with binary entries shown as hex previews.

Instructions

Read a text file stored inside the .pdsprj archive (e.g. "FIRMWARE/ATmega328P/main.ino", "PROJECT.XML"). Binary entries are returned as a hex preview.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "entry": "<entry>"
    },
    "name": "read_project_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to a Proteus .pdsprj project file
entryYes
maxBytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already covers the safety profile, so the description only needs to add context, and it does: binary entries come back as a hex preview rather than failing or dumping raw bytes. Beyond that, it says nothing about truncation, size limits, or error behavior for missing entries, which matter for a file reader.

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?

Two sentences, front-loaded with the core action and resource, followed by the binary-file caveat. Every clause carries information and nothing is padded.

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

Completeness3/5

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

With no output schema, the description must cover return behavior, and it partially does by disclosing the hex-preview format for binary entries. It leaves gaps around what a successful text read looks like, what happens at the maxBytes boundary, and how invalid entries are reported on a 3-parameter tool.

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

Parameters3/5

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

Schema coverage is only 33% – just `path` is documented, and its schema text ("path to a Proteus .pdsprj project file") is ambiguous next to the description's examples, which actually illustrate the `entry` parameter's format. The examples add real meaning for `entry`, but `maxBytes` is left entirely unexplained and truncation semantics are unstated.

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

Purpose4/5

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

States a specific verb and resource: reads a text file stored inside the .pdsprj archive, with two concrete entry examples ("FIRMWARE/ATmega328P/main.ino", "PROJECT.XML"). It implicitly separates itself from write_project_file via the read-only framing, though it never names a sibling explicitly.

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 by the description and the entry-path examples, so an agent can infer this is the tool for pulling out a single file's contents. There is no explicit when-to-use vs. when-not guidance, and no pointer to related tools such as list_firmware for discovering valid entry names.

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