Skip to main content
Glama

Delete hosted function

delete_hosted_function
Destructive

Deletes a function. Needs a confirmToken.

Input Schema

NameRequiredDescriptionDefault
slugYesSlug
confirmTokenNoFrom the CONFIRMATION_REQUIRED reply.
organizationIdNoApproved workspace id only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds the confirmToken workflow requirement, which is useful context beyond annotations, but does not explain irreversibility or what happens to associated resources.

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 short sentences, both front-loaded and free of filler. The deletion action and the confirmation prerequisite are stated immediately with no unnecessary wording.

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?

For a destructive mutation with annotations covering safety and a fully described schema, the description is minimally adequate. However, it could better explain the confirmation flow and consequences of deletion, especially since no output schema exists.

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 the schema already documents slug, confirmToken, and organizationId. The description reinforces that confirmToken is needed, but does not add syntax, source details, or constraints beyond what the schema provides.

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 states a clear verb and resource: deletes a function. It aligns with the tool name/title and is distinguishable from get/list/update hosted function tools, though it does not explicitly say 'hosted' or differentiate among delete siblings in the description itself.

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

Usage Guidelines2/5

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

The description gives only a prerequisite ('Needs a confirmToken') but does not explain when to use this tool versus alternatives such as update_hosted_function or delete_account. It leaves usage context to inference.

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.