Skip to main content
Glama

analyze_ldr

Read-only

Analyzes decoded ladder-logic network meaning and device reads/writes in FATEK .ldr files, focusing on logic behavior rather than raw-byte inspection.

Instructions

Analyze decoded network meaning and device reads/writes; not a raw-byte inspection.

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": "analyze_ldr"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the description does not need to restate safety. It adds useful context that this tool operates on decoded/semantic content rather than raw bytes, but says nothing about cost, depth of analysis, or whether it traverses the whole program.

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?

A single front-loaded sentence with no filler, and the contrastive clause is placed where it is most useful. It is arguably too compressed for a tool whose purpose is abstract, but nothing is redundant.

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?

An output schema exists, so return values need no explanation, and annotations cover safety. The remaining gap is the unexplained 'path' argument and the undefined notion of 'decoded network meaning', which leaves the agent guessing about input shape despite a simple one-parameter interface.

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

Parameters2/5

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

There is one required parameter, 'path', with 0% schema description coverage and no title beyond 'Path'. The description never explains what the path points to (LDR file, project, artifact identifier) or any format expectations, so the parameter is effectively undocumented in both places.

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 names a specific verb (analyze) and subject (decoded network meaning, device reads/writes), which is more concrete than the sibling names alone imply. It also draws a boundary against raw-byte inspection, giving the agent a hook to distinguish it from inspect_ldr/read_ldr. 'Network meaning' remains somewhat abstract, so it stops 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.

Usage Guidelines3/5

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

The clause 'not a raw-byte inspection' implicitly routes the agent elsewhere for byte-level work, but the sibling it points away from is never named and there is no positive guidance on when analysis (versus validation, simulation, or comparison) is the right call. 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.