Skip to main content
Glama

inspect_pdw

Read-only

Inspect an existing workspace PDW project's CPU, modules, sections, comments, and checksums to validate its layout and metadata before retrieving generated bytes.

Instructions

Inspect the structure and metadata of one existing workspace PDW project.

    Reports CPU, modules, sections, Chinese comments and known checksums. Tail records include
    file offsets, sizes, checksum status and payload SHA-256. Use get_pdw_artifact for generated
    bytes. FUNC199 stays opaque; invalid layouts return errors. No writes or PLC connection.
    

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>"
    },
    "name": "inspect_pdw"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesExisting .pdw path that must resolve inside the configured workspace.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.1
    • addedInput schema / properties / path / description
      Added value: +"Existing .pdw path that must resolve inside the configured workspace."
  2. Addedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds useful behavior beyond that: it reports CPU, modules, sections, comments, checksums, tail records, and payload SHA-256, and it notes that FUNC199 remains opaque and invalid layouts produce errors.

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

Conciseness4/5

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

The description is front-loaded with the core purpose and then adds relevant details without excessive wording. There is slight repetition between the description's no-write statement and the readOnly annotations, but it remains efficient.

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

Completeness5/5

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

Given the output schema and rich annotations, the description supplies what remains useful: what is inspected, what categories of information are reported, how errors behave, what is opaque, and when to use the sibling instead.

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 description coverage is 100% and the single path parameter already has a clear description. The prose does not materially extend the meaning of the path parameter beyond what the schema states.

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

Purpose5/5

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

The description uses a specific verb and resource: inspect an existing workspace PDW project's structure and metadata. It also distinguishes the tool from the sibling get_pdw_artifact by assigning generated bytes to that tool instead.

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

Usage Guidelines5/5

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

It clearly directs callers to get_pdw_artifact when they need generated bytes, while this tool is for inspection of an existing PDW. It also sets the constraint that the layout must be valid, since invalid layouts return errors.

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