Skip to main content
Glama

Create KPI

create_kpi

Create a KPI, a measured number tracked from a start value toward a target. Writes immediately and is recorded in the audit log as an AI action. Only title is required. Defaults: startValue 0, targetValue 100, currentValue 0, owner is the calling user. Record later measurements with update_kpi (currentValue). The new KPI is not aligned to anything: call align_entities afterwards to connect it to a goal or strategy. Returns the created KPI including its id.

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": "create_kpi"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit of measurement (e.g. %, $, users)
titleYesKPI title (required)
teamIdNoTeam ID
cycleIdNoCycle ID to create it in. Each cycle is one Work Graph page; find IDs with list_cycles. Default: the open cycle that started most recently. Closed cycles are refused
dueDateNoDue date in ISO 8601
ownerIdNoUser ID of the KPI owner
startDateNoStart date in ISO 8601
startValueNoStarting/baseline value
descriptionNoWhat the KPI measures and why it matters
targetValueNoTarget value to achieve
currentValueNoCurrent value

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / cycleId
      Added value: +{
      +  "description": "Cycle ID to create it in. Each cycle is one Work Graph page; find IDs with list_cycles. Default: the open cycle that started most recently. Closed cycles are refused",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare the write/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds value beyond them: the write is immediate, it is attributed in the audit log as an AI action, and the created KPI (including id) is returned. It does not discuss permissions or failure modes for invalid teamId/ownerId, which keeps it off a 5.

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?

Six short sentences, front-loaded with the definition, then requirements, defaults, follow-up calls, and return value. Every sentence carries distinct, actionable information with no repetition of schema text.

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 an 11-parameter create tool with no output schema, the description covers what is required, what defaults apply, which cycle it lands in, the immediate-write/audit behavior, the returned object, and the required follow-up alignment step. Nothing an agent needs in order to invoke it correctly 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%, so baseline would be 3, but the description adds meaning the schema does not: only title is required and the effective defaults (startValue 0, targetValue 100, currentValue 0, owner = calling user). The owner default is genuinely new information beyond the schema's 'User ID of the KPI owner'.

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?

The description pairs a specific verb (Create) with the resource and defines it functionally: 'a measured number tracked from a start value toward a target.' That definition is what separates a KPI from the sibling create_goal / create_strategy / create_task calls, so an agent can pick this tool without opening the schema.

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 explicit sequencing guidance: record later measurements with update_kpi (currentValue), and call align_entities afterwards because a new KPI starts unaligned. It also states only title is required and enumerates defaults. It stops short of saying when NOT to use this (e.g., versus create_goal for non-numeric objectives), so it is strong but not fully exhaustive.

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