Skip to main content
Glama

save_part_types

Batch create or update part type categories in Binner inventory, with names, descriptions, parent IDs, and IDs for existing records.

Instructions

Batch create or update part types.

Args: part_types: Part type records with 'name', optional 'description', optional 'parent_part_type_id', optional 'part_type_id'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
part_typesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 reveals only that the operation is a batch upsert; it says nothing about what happens to existing fields not supplied, whether batch operations are atomic or partially applied on failure, or what permissions are needed. For a mutation tool with zero annotation coverage this is a substantial gap.

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 purpose sentence is front-loaded and the Args block is terse with no filler. The Args list is somewhat redundant with the nested schema descriptions, which costs a little value but the overall size is appropriate.

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

Completeness2/5

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

For a batch mutation tool with no annotations and no output-schema burden, the description omits upsert conflict semantics, batch failure behavior, and create-vs-update disambiguation. These are exactly the behaviors an agent needs before calling a batch write.

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?

Reported top-level schema description coverage is 0%, but the nested PartTypeSaveInput properties do carry their own descriptions (name, description, part_type_id, parent_part_type_id). The description's Args block largely restates those fields with 'optional' markers and adds little beyond them, so it only partially compensates for the top-level coverage gap.

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 pair plus resource: 'Batch create or update part types.' An agent can distinguish this upsert tool from siblings like list_part_types and delete_part_types. It stops short of naming a specific alternative (e.g. save_parts), so it's clear but not sibling-differentiating.

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 guidance on when to use this versus save_parts or list_part_types, no prerequisites, and no explanation of when an update path (part_type_id) should be preferred over a create path. The 'create or update' phrasing implies upsert but leaves the selection criteria entirely to inference.

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