Skip to main content
Glama

evaluate_block

Evaluate any nTop block non-invasively via ntopcl on an isolated temporary copy, keeping your original .ntop file unchanged. Returns scalar values, bounding box, properties, and timing.

Instructions

Non-invasively evaluate any block (scalar, implicit body, plane, etc.) via ntopcl.

Runs on an isolated temporary copy so your original .ntop file is never modified. Returns evaluated scalar values, bounding box, properties, and execution timing.

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": {
      "notebook_path": "<notebook_path>",
      "target": "<target>"
    },
    "name": "evaluate_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsNo
targetYes
notebook_pathYes
timeout_secondsNo
include_propertiesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 burden and does well: it discloses that evaluation happens on an isolated temporary copy and that the original `.ntop` file is never modified, which is exactly the mutation-safety information an agent needs. It falls short of 5 by omitting timeout behavior and what happens when a block fails to evaluate.

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?

Three sentences, each earning its place: the operation, the safety guarantee, and the return payload, in that order. No filler, no repetition of the tool name.

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 the return-value sentence is a bonus rather than a necessity. However, for a 5-parameter tool with zero annotation and zero schema-description coverage, the description leaves the two most consequential inputs (`target` and `inputs`) entirely unexplained, which is a real gap.

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?

Schema description coverage is 0% across 5 parameters, and the description adds almost no meaning: it never explains what `target` accepts (integer index vs. string name), the shape/role of `inputs` (object vs. list of objects), or the units and default semantics of `timeout_seconds`. Only `include_properties` is loosely echoed by 'Returns ... properties'.

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 ('evaluate') and resource ('any block'), and clarifies scope with examples (scalar, implicit body, plane). It also names the underlying engine (`ntopcl`), which helps an agent distinguish this from notebook-level execution tools, though it does not explicitly contrast with run_notebook or run_notebook_async.

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 phrase 'non-invasively' plus the temporary-copy note implies the right context (previewing a single block's result without touching the file), but there is no explicit when-to-use versus run_notebook/run_parameter_sweep guidance and no stated exclusions or prerequisites.

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