Skip to main content
Glama
AxemaVaka-MCP

AxemaVaka-MCP

by draca-glitch

vaka_update

Update selected fields on a single Vaka access-control record by table and ID, using a preview-and-confirm write flow to approve exact changes before saving.

Instructions

WRITE. Change fields on one record of any table (partial record, snake_case field names as vaka_get returns them). 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": {
      "table": "<table>",
      "id": "<id>",
      "fields": "<fields>"
    },
    "name": "vaka_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tableYes
fieldsYes
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

A3.8/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 disclose key traits: this is a WRITE, it is a partial update (unspecified fields untouched), and it is a two-step confirm flow. It omits permission requirements, what happens when the record or field is invalid, and how the preview behaves, which keeps it below a 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?

Three short segments with zero filler and the most decision-relevant token ('WRITE') front-loaded, followed by scope and then the two-step caveat. Nothing is 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 mutation tool with no annotations, no output schema, five parameters and a free-form nested object, the description is thin: the preview/confirm mechanics live only in the schema, and there is no mention of preconditions, error behavior, or what the preview returns. It covers the essentials an agent needs to start but not enough to avoid surprises.

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

Parameters4/5

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

Schema coverage is only 40% and the nested 'fields' object is undocumented in the schema, so the description's note that it takes snake_case field names as returned by vaka_get meaningfully compensates for the largest gap. The 'any table' framing clarifies the table enum, though id lookup semantics and per-table field validity remain unstated.

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 ('Change fields') plus the resource ('one record of any table') and scopes it as a partial record update. The verb distinguishes it from the create/delete siblings without needing to name them, though the telegraphic 'Two-step.' fragment is unexplained at this point.

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?

Use is implied by 'Change fields on one record' and by the contrast with vaka_create/vaka_delete in the sibling set, and 'snake_case field names as vaka_get returns them' points to vaka_get for discovery. There is no explicit statement of when to choose this over vaka_create or when a change should instead go through a more specific setter.

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