Skip to main content
Glama

Create goal

create_goal

Set a weekly or monthly time goal for an activity. Pro feature.

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": {
      "goalType": "<goalType>",
      "period": "<period>",
      "targetMinutes": "<targetMinutes>"
    },
    "name": "create_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes
goalTypeYesat_least: spend at least the target; at_most: stay under the target
activityIdNoActivity id from list_activities
activityNameNoActivity name, when the id is not known. Case-insensitive; prefix matches work.
targetMinutesYesTarget in minutes

Output Schema

NameRequiredDescriptionDefault
goalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation. The description adds one piece of value beyond that: the Pro-plan prerequisite. It says nothing about duplicate/conflict behavior, which matters given idempotentHint=false and the existence of update_goal.

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 with zero filler and the core action front-loaded. It is efficient, though so terse that the second sentence carries the entire differentiation and prerequisite load.

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 annotations cover the return shape and safety profile, so those needn't be described. But for a 5-parameter creation tool where activityId/activityName are both optional yet one is evidently needed, and where a duplicate goal would presumably collide with update_goal, the description leaves real gaps.

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 coverage is 80%, so the schema already explains goalType, activityId, activityName, and targetMinutes. The description's 'weekly or monthly' merely restates the period enum and adds no syntax or constraint detail beyond the schema, 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?

States a specific verb ('Set') and resource ('a weekly or monthly time goal for an activity'), which is clearly distinct from get_goal_progress and delete_goal. It does not, however, differentiate itself from the sibling update_goal, leaving the create-vs-modify boundary implicit.

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?

The only guidance is the embedded prerequisite 'Pro feature', which is genuinely useful context. There is no statement of when to use create_goal versus update_goal, nor what to do if a goal for the activity already exists, so usage is only implied.

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