Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

Delete Goal

rybbit_delete_goal
DestructiveIdempotent

Permanently delete a Rybbit Analytics goal by providing its site ID and goal ID; this removes the goal and cannot be undone.

Instructions

Permanently delete a goal. This action cannot be undone.

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": {
      "siteId": "<siteId>",
      "goalId": "<goalId>"
    },
    "name": "rybbit_delete_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalIdYesNumeric goal ID to delete
siteIdYesSite ID (numeric ID or domain identifier)

Output Schema

NameRequiredDescriptionDefault
noteNoCaveat about this response, e.g. how many rows were returned and how to get the rest
goalIdNo
messageNo
successNo
truncatedNoTrue when rows were dropped to keep the response under the size cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / goalId / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. Changed6 schema fields changedv0.9.0
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / goalId
      Added value: +{
      +  "type": "number"
      +}
    • removedOutput schema / properties / id
      Removed value: -{
      -  "type": [
      -    "string",
      -    "number"
      -  ]
      -}
    • removedOutput schema / properties / name
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Caveat about this response, e.g. how many rows were returned and how to get the rest",
      +  "type": "string"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when rows were dropped to keep the response under the size cap",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv0.8.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "type": [
      +        "string",
      +        "number"
      +      ]
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Addedv0.5.1
  5. Removed
  6. Addedv0.4.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description usefully reinforces irreversibility ('cannot be undone'), which annotations do not state, but omits what else is affected (e.g., whether historical goal/session data is removed) and any permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and immediately followed by the consequence. Nothing is wasted, though the brevity borders on under-specification rather than tightness.

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?

An output schema exists, so return values need no explanation, and the schema fully documents the two required parameters. However, for a destructive mutation the description says nothing about cascading effects, permissions, or confirmation requirements, leaving a meaningful 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%, with both goalId and siteId documented in the schema, including the accepted numeric-or-domain form of siteId. The description adds no additional meaning about parameters, so the baseline of 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?

States a specific verb and resource ('Permanently delete a goal'), which cleanly separates it from rybbit_create_goal and rybbit_update_goal. It stops short of naming a sibling or scoping which goal types are deletable, so it is clear but not maximally differentiated.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as rybbit_update_goal for modification versus deletion. The only implicit signal is the word 'delete', leaving the agent to infer the context.

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