Skip to main content
Glama

bil_klar

Idempotent

Set the car's ready time and optional charge level; saves a calendar exception so Home Assistant plans charging, or resets to the normal weekday schedule.

Instructions

Sæt hvornår bilen skal være klar næste morgen (i morgen fra kl. 6, ellers i dag), kun denne gang (fx "07:30"), evt. med ladeniveau i % (50–100), eller "normal" for at fjerne undtagelsen og bruge ugedagens faste tid. Lægges som undtagelse i kalenderen og erstatter en eksisterende. Home Assistant planlægger opladningen ud fra den (om dagen først kl. 18). Giver svaret til husstanden.

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": {
      "tid": "<tid>"
    },
    "name": "bil_klar"
  }
}

Input Schema

NameRequiredDescriptionDefault
tidYes
procentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.41.1

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that the value is written as a calendar exception that replaces any existing one, that Home Assistant derives the charging plan from it (with a daytime charge only from 18:00), and that the answer is delivered to the household. Those are the non-obvious side effects an agent needs before calling a write tool.

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?

The core purpose is front-loaded in the first clause, but the rest is a single run-on sentence with deeply nested parentheses, which makes the optional percent argument and the 'normal' reset value harder to scan than they should be.

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 two-parameter mutation with no output schema, it covers what is written, the exception semantics, the downstream scheduling effect, and where the result goes. Only error behavior (invalid time strings, out-of-range percentages) is left unaddressed.

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 0%, but the description fully compensates: it gives the time format by example ('07:30'), the special literal 'normal' for clearing, and states that the charge percentage is optional and bounded to 50–100. Both parameters become usable from the description alone.

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: set when the car must be ready, as a one-off exception in the calendar. It also pins the scope ('kun denne gang') and distinguishes it implicitly from the recurring weekday time ('ugedagens faste tid'), so an agent can separate it from the scheduling siblings 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?

Gives clear conditions: this is for a single upcoming morning (tomorrow from 6 AM, otherwise today), and 'normal' is the escape hatch that removes the exception and restores the weekday schedule. It does not name a sibling tool to use for a recurring/permanent change, so routing guidance stops just short of explicit alternatives.

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