Skip to main content
Glama

delete_named_query

Delete a named query resource from an Ignition project, with optional dry-run preview and confirmation safeguard.

Instructions

Delete a named query resource.

Args: path: Named query path. project: Project name; defaults to the active project. confirm: Must be True to delete. dry_run: Preview the deletion without writing.

Returns: Deletion acknowledgement or a dry-run preview.

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": {
      "path": "<path>"
    },
    "name": "delete_named_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
confirmNo
dry_runNo
projectNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 behavioral burden. It does disclose the important safety traits — a confirm gate and a dry-run preview mode — which is real value for a destructive operation. It omits irreversibility, whether dependent references break, and any permission requirements, which leaves meaningful gaps for a delete tool.

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 docstring is front-loaded with the action, then grouped Args and Returns, so an agent can skim it quickly. It is slightly longer than strictly needed for a four-parameter tool, but no line is filler.

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 redundant rather than required. For a destructive, four-parameter tool with zero annotation coverage, the definition covers the confirmation and preview mechanics adequately but does not address consequences of deletion or authorization, which is the main remaining gap.

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 must compensate, and it largely does: it explains path, project (with the default-to-active-project behavior), the confirm gate semantics, and what dry_run produces. The one gap is that 'path' is only restated as 'Named query path' without format or example, and the schema's anyOf/null project type is not addressed.

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 first line gives a specific verb and resource: 'Delete a named query resource.' An agent can distinguish it from create_named_query, read_named_query, and write_named_query by the verb alone. It stops short of naming a sibling or restating scope conditions, so it is clear but not fully differentiated.

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 only implied through the parameter docs: 'confirm: Must be True to delete' and 'dry_run: Preview the deletion without writing' convey the safe-invocation pattern. There is no explicit statement of when to prefer this over write_named_query or when deletion is inappropriate, and no prerequisites are described.

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