Skip to main content
Glama
Synexiom-Labs

nodiom-mcp

Query node metadata

nodiom_query

Check if a Markdown section exists and retrieve its type, depth, and child count to avoid errors before reading or writing to it.

Instructions

Returns structural metadata about a location: whether it exists, its type, depth, and child count. Use this to check if a section exists before reading or writing to it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute path to the Markdown file.
selectorYesSelector to query. Example: "## Tasks > ### Active"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool returns structural metadata rather than modifying content, and it specifies what information is returned. This sufficiently conveys the non-destructive, query-like nature of the tool.

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 two concise sentences with no redundant wording. The core behavior is stated first, and the usage guidance follows immediately. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter metadata query with no output schema, the description is complete: it names the parameters' purpose, explains what the tool returns, and gives a practical usage scenario. Nothing critical is missing for an agent to decide whether to invoke it.

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

Parameters3/5

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

Schema description coverage is 100%, and the description does not add significant detail about the parameters beyond what the schema already provides. It reinforces that the selector refers to a nested location, but the baseline of 3 is appropriate since the schema already documents both parameters fully.

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?

The description clearly states the operation: 'Returns structural metadata about a location' and enumerates the exact fields returned (existence, type, depth, child count). This distinguishes it from sibling tools like nodiom_read, which return content, or nodiom_write, which modifies the file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description gives an explicit use case: 'Use this to check if a section exists before reading or writing to it.' This makes the primary context clear, though it does not explicitly name alternatives or state when not to use the tool.

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