Skip to main content
Glama

diana_results_table

Read-only

Retrieve DIANA FEA result values from loaded analyses at up to full double precision. Filter by components, cases, nodes, or elements, and export full tables to CSV.

Instructions

Result values from results loaded in DianaIE (DianaIE's resultsTable), up to full double precision.

Works on what diana_load_results lists (labels like "Displacements", "Cauchy Total Stresses"), including reinforcement, pile and layer results. Complements diana_read_tb, which reads the solver's .tb text output (4 significant digits unless tb_digits was raised).

Args: analysis: analysis with loaded results. result: result label, e.g. "Displacements". components: component names, e.g. ["DtY"]; default all. cases: result case names; default all. block: output block, needed only when there are several. location: node, element, mappedintpnt or mappedcrack. nodes: node numbers. elements: element numbers. reinforcements: reinforcement numbers. piles: pile numbers. layer: layer / fibre number. coordinate_system: local or global. max_rows: rows to return inline; filter with nodes/elements/cases, or use csv_path, rather than raising it. digits: significant digits of the inline values; 0 = full double precision. csv_path: absolute path of a CSV file to write every row to (via DianaIE's exportResults).

Input Schema

NameRequiredDescriptionDefault
blockNo
casesNo
layerNo
nodesNo
pilesNo
digitsNo
resultYes
analysisYes
csv_pathNo
elementsNo
locationNo
max_rowsNo
componentsNo
reinforcementsNo
coordinate_systemNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond them: default truncation at max_rows=30, digits default 6 with 0 meaning full double precision, and csv_path writing every row to disk via exportResults (a side effect worth flagging on a read-flagged tool). It does not say whether a truncated response is marked as truncated, nor what happens when block is ambiguous.

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?

Front-loaded one-line summary followed by a scoping paragraph and a compact Args list, which is the right shape for 15 parameters. Minor redundancy: 'up to full double precision' in the opening is restated by the digits entry, and the read_tb contrast is repeated implicitly.

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?

An output schema exists, so return values need not be described, and the description covers prerequisites, alternatives, truncation, and export. The remaining gap is behavioral on truncation: it never states whether the response signals that rows were cut off at max_rows, which matters for a tool defaulting to 30 rows.

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

Parameters5/5

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

Schema description coverage is 0% across 15 parameters, so the description carries the full burden and does: every argument is explained, including defaults ('default all' for components/cases), conditional requirements ('block ... needed only when there are several'), example values ('Displacements', ['DtY']), and the meaning of digits=0. This adds substantial meaning the bare schema lacks.

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?

States a specific resource and scope: result values from DianaIE's resultsTable at up to full double precision, tied to what diana_load_results exposes. It explicitly names the sibling it complements (diana_read_tb) and the difference (solver .tb text output at 4 significant digits), so an agent can distinguish the two 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.

Usage Guidelines5/5

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

Gives a prerequisite (works on what diana_load_results lists), names the alternative (diana_read_tb) with the condition that separates them, and adds operational guidance for large result sets: filter with nodes/elements/cases or use csv_path rather than raising max_rows. That is explicit when-to-use plus when-to-use-the-other.

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