Skip to main content
Glama

Record the actual outcome (account only)

record_actual
Idempotent

Records what actually happened for an estimate you made earlier, so the estimate can be compared with reality later (the calibration loop). Use this when the real-world outcome of a question you estimated is now known.

Returns estimate_id and the stored actual (value, unit, recorded_at, notes, source_inputs). Calling it again with the same values stores the same record.

Account only: you can record an actual only on an estimate made by your own account, and an anonymous call is refused with a sign-in requirement. To find an estimate_id, use list_my_estimates. When the user is not signed in, call the tool as normal. If the user's app supports sign-in, it will ask the user to sign in, and you can call the tool again after that. Do not send the user to their connector or app settings to sign in first. Only if the user's app cannot sign in (a REST caller, or an agent with no connector), create an account with POST https://fermi.kromatic.com/api/v1/accounts (it returns an api_key once; a new account starts with 3 credits) and pass that key as the api_key argument.

Cost: free, but account only: recording never spends credits or a free estimate, and without an account the call is refused with a sign-in requirement.

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": {
      "estimate_id": "<estimate_id>",
      "actual_value": "<actual_value>"
    },
    "name": "record_actual"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour Fermi API key. Required unless your connector is signed in. Get one with POST https://fermi.kromatic.com/api/v1/accounts.
actual_unitNoUnit of actual_value, if different from the estimate's own unit. Defaults to the estimate's unit.
estimate_idYesThe estimate_id returned by estimate_quantity_or_probability or listed by list_my_estimates.
actual_notesNoOptional free-text notes about the actual outcome.
actual_valueYesThe actual outcome, in the same unit as the estimate.
actual_recorded_atNoWhen the actual outcome occurred or was observed, as an ISO 8601 date-time. Defaults to now.

Output Schema

NameRequiredDescriptionDefault
actualNoThe stored actual outcome.
billingNoWho this call was billed to and what is left. Present on every Fermi result.
estimate_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: annotations mark idempotentHint=true, and the description explains why ('Calling it again with the same values stores the same record'). It also discloses account-only scoping, the refusal mode for anonymous calls, the cost model (never spends credits or a free estimate), and the exact account-creation endpoint with its one-time api_key and 3 starting credits — none of which the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, usage, return, and constraints are front-loaded and well ordered, but the sign-in/account material is restated — 'account only' and the anonymous-refusal rule appear in both the middle and the closing 'Cost' sentence, and the trailing paragraph largely repeats information already delivered. Trimming the second pass over account-only semantics would make it tighter.

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 a 6-parameter mutation tool with an output schema, nothing material is left unexplained: auth model, refusal behavior, cost, idempotency, and estimate_id discovery are all covered, and return values are summarized so the agent knows what comes back. A caller can execute correctly on the first attempt, including in the unauthenticated fallback path.

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 the baseline is 3, and the description earns above that by explaining when api_key is required, how to obtain one, and that an app-supported sign-in flow lets the agent simply retry instead. It also clarifies the idempotency implication of submitting identical values. Missing only per-parameter detail on actual_unit/actual_recorded_at defaults, which the schema already covers.

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 concrete verb and resource: 'Records what actually happened for an estimate you made earlier', plus the purpose ('so the estimate can be compared with reality later'). This clearly distinguishes it from estimate_quantity_or_probability (creates the estimate) and list_my_estimates (finds the id), so an agent can route correctly without opening a schema.

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 trigger: 'Use this when the real-world outcome of a question you estimated is now known.' It names the alternative for the prerequisite step ('To find an estimate_id, use list_my_estimates') and spells out the fallback path for unauthenticated users, including what NOT to do (don't send the user to connector settings first).

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