Skip to main content
Glama

read_export_table

Read and summarize nTop-exported CSV, TSV, or JSON tables to preview rows and inspect exported data without opening the full file.

Instructions

Read and summarize an exported CSV, TSV, or JSON table produced by nTop.

Args: file_path: Path to .csv, .tsv, or .json file. max_preview_rows: Maximum preview rows to return for CSV/TSV files.

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": {
      "file_path": "<file_path>"
    },
    "name": "read_export_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes
max_preview_rowsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does add one useful trait: the preview-row cap applies only to CSV/TSV, implying JSON returns are not truncated the same way. It is silent on read-only guarantees (only implied by 'read'), file-size limits, missing-file behavior, and how summarization differs from the raw content.

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 purpose sentence is front-loaded and format-scoped, and the Args block is compact and directly useful given the empty schema descriptions. Minor redundancy with the schema property names, but nothing wasted.

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?

This is a low-complexity read tool with an output schema, so return-value explanation is not needed, and the description covers formats and both parameters adequately. What is missing — path resolution base and behavior on large or malformed files — is secondary for this complexity level.

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

Parameters4/5

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

Schema description coverage is 0%, so the description is the sole source of parameter meaning, and it delivers: file_path is constrained to .csv/.tsv/.json, and max_preview_rows is scoped to CSV/TSV previews. It omits the default value of 20 that the schema declares, but otherwise adds real semantics beyond the bare 'File Path' / 'Max Preview Rows' titles.

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?

Uses a specific verb pair ('read and summarize') against a named resource ('exported CSV, TSV, or JSON table produced by nTop'), so the agent knows exactly what comes back: a parsed/summarized table, not raw text. It does not differentiate itself from siblings such as list_ntop_files or export_block_mesh, which keeps it 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?

Usage is implied rather than stated: the 'produced by nTop' qualifier hints at when the file is appropriate, but there is no explicit guidance on when to call this versus listing files or exporting anew, and no prerequisites or exclusions are given.

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