Skip to main content
Glama
aimdb-dev

aimdb-mcp

Official

set_record

Updates the value of a writable record in an AimDB instance, requiring write permissions and a value that matches the record's type schema.

Instructions

Set the value of a writable record in an AimDB instance. Only works for records with write permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesNew value for the record (must match record's type schema)
endpointNoEndpoint URL (unix://PATH, serial://DEVICE?baud=N) or a bare path. Falls back to AIMDB_CONNECT env var if omitted.
record_nameYesName of the record to update (must be writable)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the write-permission precondition, but that is largely duplicated by the schema's 'must be writable' description, and it says nothing about overwrite semantics, persistence, downstream effects, or failure behavior on a non-writable record.

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, zero padding, with the core action front-loaded and the permission constraint second. Nothing here fails to earn its place.

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 simple three-parameter setter with no output schema, the description covers what and on what, but omits write semantics (replacement vs merge), persistence, and error behavior. It is adequate but leaves the mutation contract underspecified.

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% (value type constraint, endpoint formats, record_name writability), so the schema already carries parameter meaning. The description adds no additional parameter detail, making the documented baseline of 3 appropriate.

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+resource ('Set the value of a writable record') and scopes it to write-permitted records, which distinguishes it from read siblings like get_record and list_records. It does not differentiate itself from mutation siblings such as rename_record or remove_record, so it falls short of 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?

The precondition 'Only works for records with write permissions' implies when the tool is applicable, but no alternative is named and there is no explicit when-not guidance (e.g., use rename_record to change the name, resolve_proposal for schema changes). Usage is inferable rather than stated.

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