Skip to main content
Glama

Tracwell

Create a goal

goal_create
Idempotent

Saves a goal on this connection's website, matching an observed event or page path. requestId is a UUID; repeating a request with the same requestId does not create a second goal.

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": {
      "name": "<name>",
      "category": "<category>",
      "match": "<match>",
      "requestId": "<requestId>",
      "projectId": "<projectId>"
    },
    "name": "goal_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
matchYes
categoryYes
projectIdYes
requestIdYes

Output Schema

NameRequiredDescriptionDefault
goalYes
appUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description reinforces this with the concrete mechanism (repeating the same requestId does not create a second goal), which is useful clarification. It does not cover validation failures, duplicate-name behavior, or uniqueness constraints, so it adds modestly beyond the annotations rather than substantially.

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 sentences, front-loaded with the action and followed by the idempotency note; no filler. Slightly more could be gained by spending the second sentence on undocumented parameters rather than restating idempotency already implied by annotations.

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 and rich annotations carry much of the burden, so the description need not explain returns. However, for a 5-parameter creation tool with zero schema description coverage, missing context on projectId, category values, and name constraints leaves real gaps an agent must guess at.

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 0% across 5 required parameters, so the description is the only source of meaning. It explains requestId (UUID, deduplication key) and clarifies that 'match' takes an event or page path, but leaves name, category (signup/revenue/engagement/other), and projectId entirely undefined, so compensation is only partial.

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 ('Saves a goal') plus the defining semantics of a goal ('matching an observed event or page path') and the scope ('this connection's website'). It does not explicitly contrast with goal_update or analytics_goal, but the create semantics are unambiguous from the text.

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 explains what the call does but never says when to choose it over siblings like goal_update or analytics_goal_preview, nor does it state preconditions such as needing an existing projectId or an already-observed event before a goal can be matched.

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