Skip to main content
Glama
AxemaVaka-MCP

AxemaVaka-MCP

by draca-glitch

vaka_set_person_pin

Set a person's PIN in Axema Vaka access control using a two-step preview and confirm process, so changes are verified before being written.

Instructions

WRITE. Set a person's PIN. Two-step.

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": {
      "person_id": "<person_id>",
      "pin": "<pin>"
    },
    "name": "vaka_set_person_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinYes
person_idYes
reveal_codesNoShow PINs / door codes / password hashes instead of <set>. Only when the user asks to see them.
confirm_tokenNoOmit for the preview. To write, pass the confirm_token the preview returned, with the same arguments, after the user approved that exact change. A token works once and for 30 minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden, and it does disclose the two most important traits: this is a mutation ("WRITE") and it is gated behind a preview ("Two-step"). It does not say whether the change is reversible, whether prior PIN behavior changes, or what permissions are required — meaningful gaps for an unannotated 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.

Conciseness4/5

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

Three telegraphic fragments, mutation flag front-loaded, zero filler. The choppy style costs a little readability but nothing is wasted, and the most decision-relevant token ("WRITE") leads.

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 write tool with no annotations and no output schema, the description plus the confirm_token schema roughly cover the mechanics an agent needs to avoid an accidental commit. What remains unaddressed — permission requirements, reversibility, PIN format constraints — is real but secondary to getting the two-step sequence right.

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 exactly 50%: reveal_codes and confirm_token are well documented, while person_id and pin are bare. The description implies pin is the new value and person_id the target, and "Two-step" maps loosely to confirm_token, but it adds no format, length, or validation detail. Baseline 3 fits.

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?

"Set a person's PIN" is a specific verb+resource, and "WRITE" flags the operation class up front, which distinguishes it from sibling mutations like vaka_set_door_code and vaka_set_operator_password by target object. It stops short of 5 only because it never names the alternatives explicitly.

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?

"Two-step" implies the preview-then-commit workflow, which is genuine usage context, but the description itself gives no guidance on when to prefer this tool over the door-code or operator-password variants. The real when/how detail lives in the confirm_token schema description rather than here.

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