Skip to main content
Glama

bil_lad_til

Idempotent

Set the car's charging level to a chosen percentage for nightly charging or only the next morning, optionally respecting the current ready time.

Instructions

Bilens ladeniveau i % (50–100, trin på 5): hver nat (standard), eller kun næste morgen (kun_i_nat=True laver en undtagelse med den klar-tid, der gælder nu).

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": {
      "procent": "<procent>"
    },
    "name": "bil_lad_til"
  }
}

Input Schema

NameRequiredDescriptionDefault
procentYes
kun_i_natNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.41.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world mutation, so the safety profile is covered. The description adds meaningful scheduling behavior: the default applies every night, while kun_i_nat creates an exception tied to the currently applicable ready-time. It does not say whether this replaces an existing recurring schedule or how conflicts with other planning tools are resolved.

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?

A single dense sentence with the primary percentage semantics front-loaded and the mode exception immediately after. The nested parentheses make it slightly harder to parse, but every clause carries useful information and nothing is wasted.

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 two-parameter setter with annotations and no output schema, it covers the essential input semantics and the nightly-versus-one-morning distinction. It is still incomplete on side effects: whether an existing schedule is overwritten, and whether the returned state is the new target level.

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 0%, so the description carries the burden and largely succeeds: it supplies the valid range and step size for procent (50–100 in steps of 5) that the schema lacks, and it defines kun_i_nat both as a boolean flag and as the trigger for a one-morning exception. The only gap is that it does not state what error occurs for out-of-range or off-step values.

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?

The description states a specific resource and effect: the car's charging level in percent, set either nightly or only for next morning. An agent can tell this is a charging-target setter rather than a status or preheat tool, though it does not explicitly contrast itself with the sibling bil_oplad.

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?

It clearly explains the two operating modes – default nightly charging versus a one-morning exception via kun_i_nat=True – which is genuine usage context. However, it offers no guidance on when to choose this tool over related siblings such as bil_oplad or bil_klar, and no exclusions are stated.

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