Skip to main content
Glama

log win

log_win

Add a new win (something the user did, and its result) to their wins log, for resumes, reviews and Rewinds later. Give the company and title of the role it happened in (from get_profile) when it isn't the current one; without them it goes to the role its date falls in. Use edit_win to change a logged win and add_profile_line for a resume accomplishment; an interview story belongs in the story bank instead. It asks the user first and only adds: logging it twice makes two wins. Returns the saved win with its tags. Once it's saved, undo can put it back within 24 hours.

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": {
      "what": "<what>"
    },
    "name": "log_win"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoWhen it happened, as YYYY-MM-DD; leave empty for today
tagsNoWhat it shows, from this list; leave empty when unsure
whatYesWhat the user did, in their words
titleNoThe title of the role it happened in, as get_profile shows it
resultNoWhat came of it, ideally with a number, e.g. "cut onboarding time 30%"
companyNoThe company of the role it happened in, as get_profile shows it; leave empty to go by the date

Output Schema

NameRequiredDescriptionDefault
textYesThe answer, or what was done, in plain words for the user: the same text as content
undoNoOn a saved write: its undo handle, for undo within 24 hours
widgetNoThe card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tags
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "leadership",
      +          "influence",
      +          "conflict",
      +          "failure",
      +          "metrics",
      +          "strategy",
      +          "prioritization",
      +          "execution",
      +          "customer",
      +          "team",
      +          "ai-ml"
      +        ],
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What it shows, from this list; leave empty when unsure"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false; the description adds real context on top: it confirms with the user before writing, warns that logging twice yields two wins, notes the return payload, and states a 24-hour undo window. The only gap is that it never names the confirming mechanism (confirm_write sibling) that the confirmation flow implies.

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, followed by parameter guidance, sibling routing, and behavior notes in a logical order. Dense but nearly every clause carries information; the double-logging warning and the undo window slightly overlap with what the non-idempotent annotation already signals.

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?

Given six parameters, a 100% documented schema, and an output schema covering the return value, the description supplies what structured fields cannot: write-confirmation behavior, duplication semantics, cross-tool routing, and the role-attribution fallback. Nothing an agent needs to call 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 is 3, but the description adds cross-parameter logic the schema only hints at: company+title come from get_profile and, when omitted, the win is attributed to whichever role its date falls in. That resolution rule meaningfully disambiguates date/company/title interaction.

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?

States a specific verb and resource ("Add a new win... to their wins log") and immediately defines the domain term ("something the user did, and its result"). It also demarcates the three nearest siblings by function: edit_win for changes, add_profile_line for resume lines, story bank for interview stories.

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

Usage Guidelines5/5

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

Explicit routing: use edit_win to change a logged win, add_profile_line for a resume accomplishment, story bank for an interview story. It also gives a conditional usage rule for the company/title parameters (supply them only when the role isn't the current one).

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