Skip to main content
Glama

test_named_query

Executes a named Ignition query with test parameters and returns the resulting rows or an error payload, optionally targeting a specified project.

Instructions

Execute a named query with test parameters.

Args: query_path: Named query path. params: Named parameters. project: Project name; defaults to the active project.

Returns: Query rows or an error payload.

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": {
      "query_path": "<query_path>"
    },
    "name": "test_named_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
projectNo
query_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It does not say whether the query actually executes against live data or only validates, whether side effects are possible, what permissions are required, or what happens when the query is invalid. The one useful disclosure is that failures surface as an 'error payload' rather than an exception.

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 description is short and clearly partitioned into purpose, Args, and Returns, with the action stated first. The Args section largely restates parameter names in slightly different words ('Named parameters' for params), which is low-value filler, but nothing is bloated.

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 Returns line is not strictly needed, and the main gaps are behavioral rather than structural. For a query-execution tool with no annotations and zero parameter documentation, the definition should at least say whether execution is against live data and whether it is safe to call repeatedly. It is adequate to attempt a call but not to predict its consequences.

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 0%, so the description must compensate, and it partially does by glossing all three parameters: query_path as a named query path, params as named parameters, and project as defaulting to the active project. That defaulting behavior is genuinely additive over the schema. It still omits what a query path looks like (name, ID, folder path?) and how params keys map to the query's declared parameters.

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 names a specific verb and resource: 'Execute a named query with test parameters.' The word 'test' signals this is a trial/dry-run execution against sample parameters rather than a production run, which distinguishes it in spirit from read_named_query or write_named_query. However, it never explicitly contrasts itself with those siblings, so an agent has to infer the difference.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus read_named_query, inspect_named_query_parameters, or test_code_snippet, and no prerequisites or exclusions are given. The only hint is the phrase 'test parameters,' which implies a validation use case but leaves the agent to guess when a real execution is preferred.

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