Skip to main content
Glama
sylvanai-mcp
by Arwalk

Add goal

add_goal

Adds a player's personal goal to goals.json with optional character, due date, and target details, returning the saved goal with its ID and progress.

Instructions

Add a personal goal to goals.json (writes only that file) when the player asks. target by kind: skill {name, rank}; level {level}; item {item_id and/or name, count (default 1)}; reputation {faction, standing Hated..Exalted}; dungeon {instance_id and/or name}; note: null. char: only when the player names one (default: whoever plays). due: YYYY-MM-DD. Returns the goal with its id and progress.

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": {
      "text": "<text>"
    },
    "name": "add_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueNoDue date YYYY-MM-DD.
charNoName-Realm or Name; default: most recently seen.
kindNoWhat progress is tracked; note: none.note
textYesThe goal in the player's words.
targetNoTarget for the kind; null: none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation profile is known. The description adds real value on blast radius ('writes only that file') and on the return payload ('Returns the goal with its id and progress') since there is no output schema. It says nothing about validation failures, duplicate goals, or what happens when the file is unwritable.

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?

Purpose is front-loaded in the first clause and every subsequent clause carries parameter or behavior detail. The telegraphic kind-shape syntax is dense and slightly cryptic to parse but wastes no words; a short list format would read marginally better.

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

Completeness4/5

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

For a five-parameter write tool with a polymorphic target and no output schema, the description covers the mutation scope, the per-kind target contract, defaults, and the return summary. Remaining gaps are edge-case behavior (invalid kind/target combinations, duplicate handling) rather than anything needed to call it correctly.

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

Parameters5/5

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

Schema coverage is 100%, but `target` is a free-form object with additionalProperties=true and no structure in the schema; the description fully compensates by enumerating the per-kind shapes (skill {name, rank}, level {level}, item {item_id and/or name, count default 1}, reputation {faction, standing Hated..Exalted}, dungeon {instance_id and/or name}, note: null). It also restates defaults and the due format, adding meaning well beyond the schema.

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?

Opens with a concrete verb+resource ('Add a personal goal to goals.json') and immediately bounds the write scope ('writes only that file'). The 'Add' framing naturally separates it from the sibling operations remove_goal, update_goal, and list_goals without needing to name them.

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 a clear trigger ('when the player asks') and implicitly reserves the tool for creation versus the update/remove siblings. It also constrains the `char` parameter ('only when the player names one'), which is useful selection guidance. It stops short of explicit when-not-to-use or naming an alternative tool.

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