Skip to main content
Glama

Set goals and KPIs

set_goals
Idempotent

Sets or updates the agent's goals. Accepts job_type, stage, one north-star metric with a fixed definition and baseline, a named deliverable, capability gaps, goals, optional secondary KPIs, tools, and constraints. A change to the north-star definition is recorded as drift. Requires the agent's api_key.

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

Input Schema

NameRequiredDescriptionDefault
kpisNoOptional secondary KPIs
roleNoOne-line description of the agent's role.
tagsNo
goalsYesPlain-language goals
stageNo
toolsNo
api_keyNoThe agent's api_key. Optional when the request already includes an Authorization: Bearer header.
job_typeNo
platformNo
job_titleNo
north_starYesONE declared north-star metric with a fixed definition and today's baseline
constraintsNoOptional constraints: free_only, monthly_budget_usd, a flag for whether a person can approve installs, and notes.
deliverableNoThe named deliverable, for example 'first 10 paying accounts' or 'iPhone app on TestFlight'.
owner_emailNoEmail address used for api_key recovery and digest delivery. Replaces the current value when sent.
owner_digestNotrue enables the daily digest email at the digest address; false disables it. Omit to keep the current setting (default off).
capability_gapsNoCapability-gap slugs, at most 8. Allowed values are listed by GET /api/v1/taxonomy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Your Agent Coach api_key from register_agent. Optional if you send it as an Authorization: Bearer header."New value: +"The agent's api_key. Optional when the request already includes an Authorization: Bearer header."
    • changedInput schema / properties / capability_gaps / description
      Previous value: -"Where you get stuck: auth-identity, payments-credential-separation, deploy-release, distribution, measurement, long-task-durability, quality-verification, owner-alignment"New value: +"Capability-gap slugs, at most 8. Allowed values are listed by GET /api/v1/taxonomy."
    • changedInput schema / properties / constraints / description
      Previous value: -"constraints: {free_only, monthly_budget_usd, owner_present, notes}"New value: +"Optional constraints: free_only, monthly_budget_usd, a flag for whether a person can approve installs, and notes."
    • changedInput schema / properties / constraints / properties / owner_present / description
      Previous value: -"false if your owner isn't around to approve installs right now"New value: +"Whether a person is available to approve recommended installs."
    • changedInput schema / properties / deliverable / description
      Previous value: -"The named deliverable you're working toward, e.g. 'first 10 paying accounts' or 'iPhone app on TestFlight'"New value: +"The named deliverable, for example 'first 10 paying accounts' or 'iPhone app on TestFlight'."
    • changedInput schema / properties / kpis / items / properties / baseline / description
      Previous value: -"Value BEFORE coaching. Needed for before/after."New value: +"Starting value at the beginning of coaching. Used to measure change from the baseline."
    • changedInput schema / properties / north_star / properties / baseline / description
      Previous value: -"Value BEFORE coaching. Needed for before/after."New value: +"Starting value at the beginning of coaching. Used to measure change from the baseline."
    • changedInput schema / properties / owner_digest / description
      Previous value: -"true: email your owner a daily digest at owner_email; false: stop it. Omit to keep the current setting (default off)."New value: +"true enables the daily digest email at the digest address; false disables it. Omit to keep the current setting (default off)."
    • changedInput schema / properties / owner_email / description
      Previous value: -"Add or change your owner's email (enables key recovery)"New value: +"Email address used for api_key recovery and digest delivery. Replaces the current value when sent."
    • changedInput schema / properties / role / description
      Previous value: -"One line: what you do for your owner"New value: +"One-line description of the agent's role."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world. The description adds real behavioral context beyond them: the north-star is a single metric with a fixed definition and baseline, and changing that definition is recorded as drift — a side effect the agent would not otherwise know about. It also flags the api_key requirement. It does not explain what happens to fields omitted on update (though the schema covers some of that for owner fields).

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?

Three tight sentences, front-loaded with the verb and resource, then the accepted inputs, then the drift consequence. The parameter list is somewhat redundant against the schema but serves as a quick orientation. No filler or hedging.

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 16-parameter tool with nested objects and no output schema, the description covers the core (north-star, drift, auth) but leaves gaps: it never describes what the call returns or whether a response echoes the stored goals, and it says nothing about the optional owner/digest fields that control api_key recovery and email delivery. Adequate but not complete for this complexity.

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 63%, so the schema carries most parameter meaning. The description adds the cardinality constraint ('one north-star metric') and groups the accepted inputs, but omits several parameters entirely (owner_email, owner_digest, role, job_title, platform, tags, api_key beyond the prerequisite note). Baseline 3 is appropriate given the schema does the heavy lifting.

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?

Specific verb+resource: 'Sets or updates the agent's goals,' followed by an enumeration of the domain objects it accepts (north-star, deliverable, KPIs, constraints). An agent can tell this is the goal/KPI configuration write path rather than a reporting or check-in tool. It never names a sibling (e.g. check_in, get_report) as the alternative, so it stops short of full differentiation.

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

Usage Guidelines3/5

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

The create-or-update framing implies when to call it (initial setup or revision of goals), and 'Requires the agent's api_key' gives a prerequisite. There is no explicit when-not guidance, no statement about how this relates to check_in or register_agent, and no note that repeated calls are safe updates rather than duplicates.

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