Skip to main content
Glama

Create a goal

create_goal

Create a goal with a title and a target in whole rupees. Unless active is false, it becomes the goal shown on the page and any other goal is put away, not deleted (set_active_goal brings one back). The free plan refuses while another goal is running, even with active false. Impact tiers are Premium. A goal that is neither active nor complete has no page of its own.

Input Schema

NameRequiredDescriptionDefault
titleYes
activeNoShow it on the page straight away.
impactNoWhat each amount pays for, shown on the goal. Premium.
deadlineNoAs YYYY-MM-DD. Null clears it. A goal does not stop at its deadline.
descriptionNo
targetAmountYesIn whole rupees.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
slugYes
titleYes
activeYesThe one currently shown on the page.
impactYesWhat each amount pays for. Premium.
percentYes
updatesYes
deadlineYes
filledAtYesWhen it reached its target.
descriptionYes
raisedAmountYes
targetAmountYes
supportsCountYes
raisedFormattedYes
targetFormattedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic mutation profile (readOnly=false, destructive=false, idempotent=false). The description goes well beyond that by disclosing the side effect on other goals (deactivated, not deleted), a plan-based refusal precondition, a Premium feature gate, and the visibility consequence of an inactive/incomplete goal. These are exactly the behavioral traits an agent cannot infer from annotations.

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?

Four tight sentences, front-loaded with the core action followed by side effects, plan gates, and an edge case. Each sentence carries distinct, non-redundant information with no filler.

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

Completeness5/5

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

The tool is a mutation with annotations covering safety and an output schema covering return values, so the description's job is behavioral context — and it supplies side effects, preconditions, gating, and an edge case. Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 67%, so the schema documents active, impact, deadline and targetAmount already. The description adds genuine meaning for 'active' by spelling out its consequences (becomes the shown goal, others put away), which the schema's one-line 'Show it on the page straight away' does not cover, while adding little for the rest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a goal') and immediately pins the required inputs (title, target in whole rupees). It also distinguishes the operation from neighboring concepts by noting that a replaced goal is 'put away, not deleted' and that set_active_goal restores it, so the agent can separate create from delete/set_active without opening other schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides real conditional guidance: default activation behavior, the free-plan refusal when another goal is running, Premium gating for impact tiers. It stops short of explicitly naming when to pick create_goal over update_goal or list_goals, but the preconditions and plan constraints give the agent enough to decide correctly.

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