Skip to main content
Glama
darshan-tools

darshan-tools

by Presciman

get

Retrieve one named item from an opened Darshan log—a counter, header field, or dotted schema path—to return its exact value or subtree.

Instructions

Return one named item exactly: a counter or header field name (raw dump), or a dotted field path and its subtree (schema).

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": {
      "key": "<key>"
    },
    "name": "get"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
logNopath of an opened .darshan log (default: the one opened last)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 the behavioral burden, and it does disclose that counters/header fields produce a raw dump while dotted paths return the subtree as schema. It still does not state whether the operation is read-only, what happens for missing keys, or what error or permission behavior applies.

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?

The description is a single front-loaded sentence with no redundant wording. It efficiently states the core behavior and the two key interpretation modes.

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?

The description covers the main retrieval modes and return shape, which is important because there is no output schema. However, for a tool with no annotations and two parameters, it omits error behavior, exact response formatting beyond 'raw dump'/'schema,' and guidance on how this relates to opening or searching logs.

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 coverage is only 50%, and the required key parameter has no schema description, so the description adds substantial meaning by explaining that key may be a counter/header field name or a dotted field path. It does not elaborate on the optional log parameter beyond the schema's default description.

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 uses a specific verb, 'Return,' and a specific resource, 'one named item,' and explains two key forms: raw counter/header dump and dotted field path subtree. It is clear what the tool retrieves, but it does not explicitly distinguish itself from siblings such as search or outline.

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 'one named item exactly' implies this tool is for known exact names or paths rather than broad exploration. However, it gives no explicit when-to-use versus when-not-to-use guidance and does not name alternative tools like search or outline.

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

Deploy Server

Other Tools