Skip to main content
Glama

Privi Car: revoke a digital key

car_key_revoke
DestructiveIdempotent

Revoke a digital key at once. Every later car_key_check answers 'revoked'.

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": {
      "vehicle": "<vehicle>",
      "owner_key": "<owner_key>",
      "key_id": "<key_id>"
    },
    "name": "car_key_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_idYesThe key_id (ck_...) to revoke
vehicleYesvehicle_id (car_...) or the 17-character VIN
owner_keyYesThe owner_key (carkey_...) returned by car_register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real context beyond that: the revocation takes effect immediately ('at once') and changes how car_key_check subsequently reports the key. It does not say whether the operation is reversible or what happens on a re-revoke, which keeps it below 5.

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 short sentences, front-loaded with the action and followed by the consequence. Nothing is redundant or padded.

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 3-required-parameter destructive tool with no output schema, the description covers purpose and post-condition, and annotations cover the risk profile. It leaves out permission/auth requirements and the idempotent re-revoke behavior, which an agent would want before calling a destructive operation.

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% and every parameter documents its own format (ck_..., car_.../VIN, carkey_... from car_register). The description adds no parameter-level meaning, so the baseline of 3 applies.

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 gives a specific verb and resource ('Revoke a digital key'), immediately distinguishing it from car_key_issue and car_key_check. It also states the observable end state. It stops short of naming a sibling as the alternative, which keeps it from a 5.

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 implied by the imperative 'Revoke a digital key at once', and the mention of car_key_check's later answers hints that this is the terminal operation on a key. There is no explicit when-to-use/when-not-to-use guidance and no stated prerequisites, such as needing the owner_key from car_register.

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.