Skip to main content
Glama

delete_variable

Destructive

Remove a variable permanently from a Codemagic variable group using the variable ID from list_variable_groups.

Instructions

Delete a variable from a Codemagic variable group. The variable_id comes from list_variable_groups. This cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idYesThe variable group ID
variable_idYesThe variable ID to delete (from list_variable_groups)
Behavior5/5

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

The description adds value beyond annotations by stating 'This cannot be undone', reinforcing the destructiveHint=true annotation. It also explains the source of the variable_id. No contradictions.

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, no redundant information, front-loaded with purpose. Every sentence is earned.

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 simplicity (two required parameters, destructive, no output schema), the description is complete. It covers purpose, parameter sourcing, and irreversibility, which is sufficient for correct agent invocation.

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. The description adds meaning by indicating that variable_id is obtained from list_variable_groups, which provides sourcing context beyond the schema's description of 'The variable ID to delete'.

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 action 'Delete a variable from a Codemagic variable group' and identifies the resource (variable within a group). It distinguishes from sibling tools like list_variables or add_variable by specifying the verb 'Delete' and the context of variable groups.

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?

The description provides a clear usage context by noting that the variable_id comes from list_variable_groups, implying a prerequisite. However, it does not explicitly state when to use this tool versus alternatives or when not to use it, which would have earned a 5.

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/todah-zg/codemagic-mcp'

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