Skip to main content
Glama

Get availability

get_availability
Read-only

Check whether your Polestar vehicle is currently reachable and awake by retrieving its availability status and usage mode.

Instructions

Vehicle availability: availabilityStatus and usageMode (whether the car is currently reachable/awake). (M2M endpoint: /v1/vehicles/{vin}/telemetry/availability, scope pdp-telemetry/availability).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the full raw API payload instead of (or after) the humanized summary. Unchanged upstream content: it carries the VIN even when POLESTAR_REDACT_VIN is on.
vinNoVehicle Identification Number. Optional when the credential has exactly one vehicle, omit it and the only vehicle is used.
delegated_account_idNoThird-party credentials only: read the shared vehicles of this account for this call. Must be listed in POLESTAR_DELEGATED_ACCOUNT_IDS.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesFalse when the call produced no data.
vinNoVehicle the result is about, masked when POLESTAR_REDACT_VIN is on.
codeNoMachine-readable error code when ok is false.
dataNoStructured payload; shape documented per tool.
hintNoActionable guidance when ok is false.
toolNoTool that produced this result.
messageYesResult text, identical to the content block.
requestIdNoUpstream request id, the handle support needs.
ageSecondsNoStaleness of the underlying telemetry.
httpStatusNoUpstream HTTP status when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal readOnlyHint and openWorldHint, so the safety profile is known. The description adds useful behavioral context beyond the annotations: it is an M2M endpoint, requires the 'pdp-telemetry/availability' scope, and exposes the raw flag behavior (even carrying VIN when redaction is on, though that detail lives in the schema rather than the description itself).

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

Conciseness5/5

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

Two sentences, front-loaded with the core meaning, then the endpoint and scope. Every clause adds information; there is no filler or repetition.

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?

With a rich output schema present, complete parameter descriptions in the input schema, and annotations covering read-only/open-world behavior, the description only needed to supply the operational essentials (endpoint, scope, and meaning of the fields it returns), all of which are present.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3 even without parameter details in the description. The description adds field semantics (availabilityStatus, usageMode) and the endpoint template, but does not need to compensate for parameter docs since the schema already documents raw, vin, and delegated_account_id fully.

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 verb and resource: it retrieves 'Vehicle availability' with the concrete fields 'availabilityStatus and usageMode (whether the car is currently reachable/awake)'. It does not explicitly differentiate from sibling tools like get_car_status or polestar_status, but the parenthetical makes the availability semantics unmistakable.

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?

The description gives clear context: this checks whether a car is reachable/awake, and it identifies the exact M2M endpoint and required OAuth scope. However, it provides no explicit when-to-use versus alternatives among the many sibling get_* tools, nor any exclusions.

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