Skip to main content
Glama

gluecron_delete_variable

DestructiveIdempotent

Delete an Actions variable by name. Pass owner + repo for a repository variable, owner + repo + environment for an environment variable, or org for an organisation variable (organisation variables need an admin-scoped token). A variable that does not exist is a not-found error, never reported as deleted. Audit-logged. Returns {name, deleted: true}.

Input Schema

NameRequiredDescriptionDefault
idNoVariable id, instead of name
orgNoOrganisation slug
nameNoVariable name: letters, digits and _, not starting with a digit or GITHUB_ (stored upper-case)
repoNoRepo name
ownerNoRepo owner — username or organisation slug (omit when passing org)
environmentNoEnvironment name (or id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, yet the description adds what the agent actually needs: a missing variable is a not-found error and never falsely reported as deleted, the operation is audit-logged, and the org path needs an admin-scoped token. That is real behavioral context beyond the annotation set.

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?

Four short sentences, front-loaded with the action, then scope routing, then the error/idempotency guarantee, then the return shape. No filler.

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?

With no output schema, the description supplies the return shape ({name, deleted: true}), the auth requirement, the scope-selection contract, and the not-found failure mode. Nothing material for correct invocation is missing.

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 coverage is 100%, so baseline is 3, but the description adds the combination semantics the schema lacks: which parameters pair to select which variable scope, and that org needs elevated auth. It only omits the fact that `id` can be supplied instead of `name`, so the 'by name' phrasing under-describes the alternate key.

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?

States a specific verb+resource ('Delete an Actions variable by name') and immediately scopes it by the three variable tiers. The delete verb cleanly separates it from the get_variable/list_variables/set_variable siblings without needing to name them.

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

Usage Guidelines4/5

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

Gives concrete when-to-use routing: owner+repo for repo variables, owner+repo+environment for environment variables, org for organisation variables, plus the admin-token prerequisite for the org case. It stops short of naming alternatives or stating when not to use it (e.g. use set_variable to update instead).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources