Skip to main content
Glama

harness_update

Idempotent

Update any supported Harness resource by specifying its type, ID, and updated body. Use a Harness URL to auto-extract identifiers, simplifying the process.

Instructions

Update an existing Harness resource. You can pass a Harness URL to auto-extract identifiers. Response includes openInHarness link to the updated resource when applicable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_typeYesThe type of resource to update
resource_idYesThe identifier of the resource to update
urlNoA Harness UI URL — org, project, resource type, and ID are extracted automatically
bodyYesThe updated resource definition body
org_idNoOrganization identifier (overrides default)
project_idNoProject identifier (overrides default)
paramsNoAdditional identifiers (e.g. pipeline_id for triggers, version_label for templates).
Behavior3/5

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

Annotations already indicate idempotent and non-destructive. The description adds context about URL extraction and response link, but does not disclose error handling, partial vs full update, or authentication needs.

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?

Two sentences concisely convey purpose and key features. No redundancy. The most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 7 parameters and no output schema, the description omits critical details: update mode, response structure beyond the link, and error behaviors. The tool is complex but the description is minimal.

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 coverage is 100%, so each parameter is already documented. The description adds value by explaining the 'url' parameter's auto-extraction behavior, but does not clarify semantics for other parameters beyond the schema.

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 clearly states the verb 'Update' and the resource 'existing Harness resource'. It differentiates from sibling tools like harness_create and harness_delete by specifying 'update'.

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 usage for updating existing resources but does not explicitly state when to use versus alternatives like harness_create for new resources. No exclusion criteria or context is provided.

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