Skip to main content
Glama

ap_insert_records

ap_insert_records

Insert one or more records into a table. Max 50 records per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYesArray of records (1–50). Each record maps field names to values. Example: [{"Name": "Alice", "Age": "30"}]
tableIdYesThe table ID (the "id" from ap_list_tables; the externalId is also accepted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the agent knows this is a non-destructive, non-idempotent write. The description's only added claim, "Max 50 records per call," merely restates the schema's maxItems=50 and says nothing about partial-failure behavior, duplicate handling, or what 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?

Two short sentences with the core action front-loaded and no hedging or filler. The second sentence duplicates maxItems from the schema, so a sliver of it 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 write tool with no output schema, the description covers the action and the batch limit but omits error/partial-write semantics and confirmation of return behavior. Adequate to call correctly, but thin on what an agent should expect after invoking it.

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%: both tableId and records are documented in the schema, including an example record and the externalId alternative. The description adds no syntax or format meaning beyond that, so the baseline 3 applies.

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 ("Insert one or more records into a table"), which is unmistakable and distinct from siblings like ap_update_record, ap_delete_records, and ap_find_records. It does not, however, explicitly name or differentiate itself from those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of alternatives (e.g., ap_update_record for existing rows), and no prerequisites such as needing a tableId from ap_list_tables. The schema infers a tableId reference, but the description offers no routing help.

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.

Resources