Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

Update Goal

rybbit_update_goal
Idempotent

Update an existing Rybbit Analytics goal's name, type, and configuration for a site, including path or event rules, so tracking definitions stay accurate.

Instructions

Update an existing goal's name, type, or configuration.

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>",
      "goalType": "<goalType>",
      "config": "<config>"
    },
    "name": "rybbit_update_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
configYesGoal configuration. Use pathPattern for path goals or eventName for event goals.
goalIdYesNumeric goal ID to update
siteIdYesSite ID (numeric ID or domain identifier)
goalTypeYes

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. Changed5 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / config / additionalProperties
      Removed value: -false
    • removedInput schema / properties / config / properties / propertyFilters / items / 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

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, and non-read-only, so safety basics are covered. Beyond that the description adds nothing: it does not disclose that goalType and config are required (so this behaves like a full replace rather than a partial patch), what happens to config fields when the type switches between path and event, or how invalid goalIds are reported.

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?

A single efficient sentence with no filler, front-loading the action and the affected fields. It is well sized for what it says, even if what it says is thin.

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

Completeness2/5

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

With five parameters, a nested config object, and required type/config coupling, this definition is too thin; it should explain the type-dependent config requirement and the replacement semantics. The presence of an output schema and annotations covers return values and safety, but the call-shaping behavior is left undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage sits at 60% and the nested config object is already well documented in the schema itself. The description merely restates the field list and adds no meaning about the coupling between goalType and config (pathPattern vs eventName), nor about how name omission is handled.

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 gives a specific verb plus resource ('Update an existing goal') and enumerates the mutable facets (name, type, configuration), which implicitly separates it from the create/delete goal siblings. It stops short of naming those siblings, but an agent can still tell this is the mutation-in-place tool.

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 guidance on when to choose this over rybbit_create_goal or rybbit_delete_goal, no statement of prerequisites (an existing goalId), and no mention that both goalType and config are mandatory. The only hint is the word 'existing', which the agent must interpret on its own.

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