Skip to main content
Glama

set_goals

Idempotent

Set monthly goals. Target 0 removes that goal; metrics you leave out are unchanged. Read the current goals first with get_goals.

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": {
      "goals": "<goals>"
    },
    "name": "set_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalsYesGoals to set, each { metric, target }. A target of 0 removes that goal; metrics you leave out are unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. The description adds real value beyond them by disclosing partial-update semantics and the zero-means-delete convention, which is the kind of non-obvious behavior annotations cannot express. It does not cover permissions, whether goals are per-workspace, or what happens on a new billing month, so it adds context but not a full behavioral picture.

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?

Three short sentences, zero padding, with the action and the partial-update rule front-loaded ahead of the prerequisite pointer. Every sentence carries information an agent would otherwise have to guess.

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?

For a one-parameter tool with no output schema and rich annotations, the description covers the mutation semantics, the deletion convention, and the ordering prerequisite — everything needed to call it correctly. Nothing material 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 100% and the single array parameter already documents the { metric, target } shape and the target-0 rule, so the schema carries the load. The description restates that same rule at the tool level, which is a mild redundancy rather than added meaning, though it usefully reinforces it for an agent skimming only the description.

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 ("Set monthly goals") and immediately points at the sibling read tool, so an agent can tell it apart from get_goals. It stops short of saying what a 'goal' governs operationally, but the schema enum supplies the metric names.

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?

Gives an explicit prerequisite ("Read the current goals first with get_goals") and explains two operational modes: target 0 deletes, omitted metrics are preserved. No explicit when-not guidance, but the partial-update rule effectively prevents the main misuse (accidentally wiping unlisted goals).

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