Skip to main content
Glama

inspect_named_query_parameters

Retrieve parameter definitions, including types and default values, for a named query to validate inputs or troubleshoot query execution.

Instructions

Inspect a named query's parameter definitions.

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

Returns: Parameter definitions with type and default value.

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": "inspect_named_query_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
query_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behavioral facts: the project argument defaults to the active project, and the return is parameter definitions with type and default value. It does not state whether the call is read-only, what happens for a missing query path, or whether the query must be loaded first.

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?

Short and front-loaded, with the purpose in the first line and args/returns following. The 'Args:'/'Returns:' scaffolding is slightly verbose, and the Returns line is largely redundant given an output schema exists, but nothing is 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?

For a two-parameter read-style introspection tool with an output schema present, the description covers purpose, inputs, and resolution of the default project. The main gap is failure behavior for an unknown query path.

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 for both parameters. It does describe both, but query_path is only restated as 'Named query path' (no format examples), and the genuinely additive detail is the 'defaults to the active project' behavior for project.

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 gives a specific verb and resource: 'Inspect a named query's parameter definitions.' That tells an agent this is about metadata, not execution, which separates it from siblings like read_named_query or execute_readonly_query. It doesn't explicitly name those siblings, so it lands at 4 rather than 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only usage signal is implicit in the word 'Inspect' and the 'Args:' block; an agent must infer that this is a pre-execution metadata lookup rather than a query runner.

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