Skip to main content
Glama

Add record

add_record

Adds one record to a collection an app declares, as the person this call acts for, the way the app's own page does, and returns it. A repeated call adds another record. Field values are written by the app's users.

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": {
      "app_id": "<app_id>",
      "collection": "<collection>",
      "fields": "<fields>"
    },
    "name": "add_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app, as list_apps gave it
fieldsYesthe new record's fields, as the collection declares them
collectionYesa collection the app declares

Output Schema

NameRequiredDescriptionDefault
recordYesthe stored record

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 readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description goes further by stating the write is attributed to the person the call acts for and behaves "the way the app's own page does," i.e. subject to the app's own validation and permissions. It also clarifies the practical consequence of non-idempotency (duplicates rather than errors) and that the created record is returned.

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?

The verb and effect are front-loaded, and the non-idempotency warning is placed where it matters. The trailing sentence "Field values are written by the app's users" is ambiguous in meaning and only marginally earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation tool with an output schema and full annotation coverage; the description supplies the missing behavioral context (acting-user attribution, app-page equivalence, duplicate behavior) that annotations don't convey. Return values need not be explained since an output schema exists.

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 coverage is 100%, so all three parameters are already documented in the schema. The description adds little beyond the schema's own phrasing ("as the collection declares them" mirrors the fields description) — no format, validation, or nesting guidance for the free-form fields object.

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 opens with a specific verb+resource ("Adds one record to a collection an app declares") and states the effect on the caller's data. It does not name a sibling such as edit_record to sharpen the boundary, so it stops 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?

Usage is implied by "A repeated call adds another record," which tells the agent this is a creating (not upserting) call and warns against accidental duplicates. There is no explicit when-not-to-use guidance or pointer to edit_record for modifying an existing record, leaving the alternative to inference.

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.