Skip to main content
Glama

Delete a goal

delete_goal
DestructiveIdempotent

Remove a goal from a roadmap. Its linked items and milestones stay and are unlinked. Needs read-and-change access.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "roadmapId": "<roadmapId>",
      "goalId": "<goalId>"
    },
    "name": "delete_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalIdYesGoal id from get_roadmap
roadmapIdYesRoadmap id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the destructiveHint/idempotentHint annotations, the description discloses the crucial non-obvious side effect: linked items and milestones stay and are unlinked rather than being deleted. It also names the access requirement, which annotations do not cover. This is exactly the behavioral context an agent needs before invoking a destructive operation.

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?

Three compact sentences with zero filler, front-loaded with what is removed before the side effects and access note. Every sentence earns its place.

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

Completeness4/5

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

For a two-parameter destructive delete with no output schema, the definition covers what is removed, what is preserved, and the auth requirement. It does not state whether the deletion is reversible or what a success response looks like, a minor remaining gap.

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%, including the useful note that goalId comes from get_roadmap, so the schema carries parameter meaning. The description adds nothing about the two parameters, so the baseline 3 applies.

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 specific verb and resource: 'Remove a goal from a roadmap.' An agent can tell this targets goals on a roadmap rather than initiatives, holidays, or sprints. It stops short of naming a sibling tool explicitly, which keeps it at 4 rather than 5.

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?

Usage is implied by the verb and scope, and the 'Needs read-and-change access' note gives a prerequisite, but there is no explicit when-to-use guidance or statement of alternatives (e.g., unlinking versus deleting). The agent must infer the context.

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