Skip to main content
Glama

Control Your Tesla

Set charge limit

set_charge_limit
Idempotent

Sets the charge limit percent (50–100). Out-of-range values return invalid_arguments.

Input Schema

NameRequiredDescriptionDefault
vinNo
percentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, closed-world), so the safety burden is light. The description adds genuinely new behavior — out-of-range input yields invalid_arguments — but says nothing about which vehicle is affected or what happens when vin is omitted.

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?

Two tight sentences with no filler, and the core action plus constraint are front-loaded. Slightly more could be said about targeting without hurting brevity.

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 simple idempotent setter with annotations and a constrained schema, the basic contract is covered. The missing piece is vehicle selection — with two parameters and no output schema, the silent vin parameter is the one real gap an agent would hit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, yet it only restates the 50–100 range already enforced by the schema's minimum/maximum. The vin parameter is never mentioned, leaving the targeting semantics (optional? defaults to active vehicle?) entirely undocumented.

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?

States a specific verb and resource ("Sets the charge limit percent") with the valid range, so an agent knows exactly what the call does. It does not differentiate from the sibling set_charge, leaving the agent to infer that this sets the limit rather than starting charging.

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?

Usage is only implied by the domain (setting a charge limit before charging). There is no explicit when-to-use or when-not-to-use guidance and no reference to set_charge or get_charging_status as alternatives.

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