Skip to main content
Glama
Yan-Vi
by Yan-Vi

delete_util

Delete a shared utility function. Does not check for flow step references, so verify with list_flows/get_flow first.

Instructions

Delete a shared utility function. Does NOT check whether any flow step still calls it (via kind: groupName, method: name) -- check list_flows/get_flow first (same caveat as delete_page_object: this is a bare delete, no reference cascade).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
projectNoPath to the project root (same folder the side panel connects to). Defaults to the EASYSPEC_PROJECT environment variable if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.4

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It clearly discloses that the deletion is a bare delete with no reference cascade, which is the most important side effect. It does not mention irreversibility explicitly, but 'delete' implies it.

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 sentences: the first states the purpose and the second states the critical caveat. It is concise, front-loaded, and every sentence 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?

Given the tool's destructive nature, the description includes the essential precondition (check references first) and even cross-references the same caveat on delete_page_object. No output schema exists, so return-value details are unnecessary.

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?

The description does not add much parameter-level detail beyond the schema. It indirectly explains that 'name' identifies the utility function, and 'project' is already described in the schema with its default. This is adequate but not enhanced.

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 states a specific action and resource: 'Delete a shared utility function.' It clearly distinguishes this from deleting flows, page objects, or groups, and the caveat reinforces the tool's exact scope.

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

Usage Guidelines5/5

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

It explicitly warns that the tool does not check for references and tells the agent to check list_flows/get_flow first. This gives clear when-to-use guidance and prevents unsafe deletion.

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