Skip to main content
Glama

harness_delete

DestructiveIdempotent

Delete a Harness resource by resource type and ID, or extract identifiers from a Harness URL. This action is destructive and permanent.

Instructions

Delete a Harness resource. You can pass a Harness URL to auto-extract identifiers. This is destructive and cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_typeYesThe type of resource to delete
resource_idYesThe identifier of the resource to delete
urlNoA Harness UI URL — org, project, resource type, and ID are extracted automatically
org_idNoOrganization identifier (overrides default)
project_idNoProject identifier (overrides default)
paramsNoAdditional identifiers for nested resources (e.g. pipeline_id for triggers, environment_id for infrastructure).
Behavior4/5

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

The description adds 'this is destructive and cannot be undone' beyond the destructiveHint annotation. It also discloses URL extraction behavior. No contradiction with annotations (idempotentHint is compatible).

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, front-loaded with the core purpose, and contains no irrelevant details. Every sentence earns its place.

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?

Given the tool has 6 parameters (including nested object) and no output schema, the description is adequate but not thorough. It covers key behavioral aspects but lacks detail on param interactions and error handling. Schema descriptions compensate partially.

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%, so baseline is 3. The description does not add significant semantic information beyond the schema, except for mentioning URL auto-extraction which maps to the url parameter.

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 clearly states 'Delete a Harness resource' with specific verb and resource. It also mentions URL auto-extraction. While it doesn't explicitly distinguish from sibling tools like harness_update or harness_create, the name and purpose are unmistakable.

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?

The description implies when to use (when deletion is needed) but provides no explicit guidance on when not to use or alternatives. The URL extraction hint is useful but does not replace formal usage guidelines.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thisrohangupta/harness-mcp-v2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server