Skip to main content
Glama
AxemaVaka-MCP

AxemaVaka-MCP

by draca-glitch

vaka_set_door_code

Update an access group's door code with a preview-confirmed two-step write, passing the access group ID and new code.

Instructions

WRITE. Set the door code of an access group. 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": {
      "accessgroup_id": "<accessgroup_id>",
      "code": "<code>"
    },
    "name": "vaka_set_door_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
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.
accessgroup_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does flag the two most important traits: this mutates state and it requires a preview/confirm sequence. It leaves out what happens to any existing door code on overwrite and whether permissions are needed, but the core risk profile is disclosed.

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 terse fragments with the mutation flag and two-step requirement front-loaded; nothing is wasted. It is arguably too terse rather than padded, but the structure is sound.

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 no-annotation mutation tool, the description plus the rich confirm_token and reveal_codes schema text cover the safe-call path. It is still missing what the write does to existing codes, any format constraints on code, and how failures present without an output schema.

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 coverage is 50%, and the two undocumented parameters are the required ones: accessgroup_id and code. The description says nothing about code format (PIN length, character set) or what accessgroup_id must reference, so it fails to compensate for the coverage gap on the parameters that matter most.

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: "Set the door code of an access group," preceded by "WRITE" to flag a mutation. That distinguishes it from siblings like vaka_set_person_pin and vaka_set_operator_password by resource, though it never names those 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" and "WRITE" imply the tool only applies once a preview has been reviewed, but the when-to-use reasoning lives mostly in the confirm_token schema description rather than the tool description. No exclusion guidance against similar setter siblings.

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