Skip to main content
Glama

Set goal

set_goal
Idempotent

Create or update a 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": {
      "title": "<title>"
    },
    "name": "set_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
statusNo
goal_idNo
agent_idNo
priorityNo
parent_idNo
category_idNo
descriptionNo
target_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and 'create or update' is consistent with an idempotent upsert. Beyond that, the description adds nothing: it does not say what happens to fields that are omitted, whether an existing goal is overwritten, or what permissions are needed for a 9-parameter mutation.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but its brevity is under-specification rather than efficiency. There is no structure to speak of for a tool with nine inputs.

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?

For a mutation tool with 9 parameters, one required field, no output schema, and no per-field descriptions, a five-word description is not enough. An agent cannot determine required fields, the meaning of goal_id, or the effect on existing goal state from this definition.

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

Parameters1/5

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

Schema description coverage is 0% across 9 parameters, so the description carries the full burden — and it names none of them. The critical semantic, whether supplying goal_id selects update mode or whether parent_id/category_id create hierarchy relationships, is left entirely undocumented.

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 names a specific resource (goal) and both operations (create, update), which tells an agent it is an upsert-style write. It stops short of saying how creation vs. update is selected, but the resource and verb are unambiguous.

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 call this versus other tools, no prerequisites, and no condition explaining when the tool creates a new goal instead of updating an existing one. The agent must infer that from the parameter list alone.

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