Skip to main content
Glama
sylvanai-mcp
by Arwalk

Update goal

update_goal
Idempotent

Change a goal's status, text, target, or due date in goals.json; mark it done only after the player confirms.

Instructions

Change a goal in goals.json: status (active, done, abandoned), text, target (same kind; to change the kind remove and add) or due (YYYY-MM-DD, "" clears). Mark done only after the player confirms.

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": {
      "id": "<id>"
    },
    "name": "update_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGoal id from list_goals.
dueNoDue date YYYY-MM-DD; "" clears it.
textNo
statusNo
targetNoTarget for the kind; null: none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this a non-read-only, idempotent, non-destructive write, so the description is not carrying the safety burden alone. It still adds real behavioral context beyond them: that the goal lives in goals.json, that empty string ('') clears the due date, that the target kind cannot be changed in place, and that setting status=done requires player confirmation. It says nothing about error behavior for a malformed or nonexistent id.

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?

One densely packed sentence with a colon-delimited field list — everything is front-loaded and nothing is repeated. The 'or due' phrasing reads slightly awkwardly against the preceding comma list, but no sentence is wasted. It is terse to the point of being cryptic about parameter grouping.

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?

For a 5-parameter mutation tool with no output schema and partial schema coverage, the description covers most fields but leaves a real gap: target is an untyped object in the schema ('Target for the kind; null: none') and the description never explains its shape. It also does not state whether fields are optional (partial update) or what happens when none are provided.

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 60%, so the baseline is mid-range. The description duplicates what the schema already states for due (YYYY-MM-DD, '' clears) and status (the enum values), while adding genuinely new meaning for target ('same kind; to change the kind remove and add'). It adds nothing for text and id, leaving those to the schema.

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 states a specific verb (change/update) and resource (a goal in goals.json) and enumerates the mutable fields: status, text, target, due. The verb plus the 'goals.json' mention make clear this mutates an existing record rather than creating one, which implicitly separates it from add_goal and remove_goal. It stops short of explicitly naming those siblings as alternatives.

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?

It gives concrete routing advice for a common edge case — 'to change the kind remove and add' — which tells the agent to chain two other tools instead of forcing this one. It also adds a workflow precondition: 'Mark done only after the player confirms.' There is no guidance on what happens if no field is supplied, or on when not to use this tool at all.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.