Skip to main content
Glama

AssetLab

Create infrastructure asset part

create_infrastructure_asset_part

Associate a part with an infrastructure feature. The (feature_id, part_id) pair must be unique - a duplicate returns 409. Requires infrastructure_asset_parts:write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
part_idYesPart ID (required; resolve via list_parts)
quantityNoDesign/installed quantity (default 1)
feature_idYesInfrastructure feature ID (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a non-read-only, non-idempotent, non-destructive write. The description adds genuine context beyond them: the composite uniqueness rule on (feature_id, part_id) and the concrete 409 duplicate-failure response, which the agent cannot infer from the schema alone.

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?

Three compact sentences, front-loaded with the core action and immediately followed by the key constraint and the auth requirement. No filler, though it could be tightened slightly by merging the scope note.

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?

For a simple 3-param mutation with no output schema, the definition covers the action, the uniqueness constraint, the failure mode, and the required scope. It omits only minor items such as return shape or typical workflow context, which keeps it just short of fully complete.

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%, so both required IDs and the quantity default are already documented in the schema. The description references the (feature_id, part_id) pair but adds no format, resolution, or defaulting detail beyond what the schema provides, matching the baseline-3 case.

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: 'Associate a part with an infrastructure feature.' This clearly separates it from create_part and create_asset_part at a high level, though it never explicitly names those siblings or notes the feature-vs-asset nuance the tool name implies.

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?

Provides useful preconditions (the pair must be unique, duplicates return 409, write scope required), which implies when a call will succeed or fail. However, it offers no guidance on when to use this tool versus the many sibling create_* tools or versus update_infrastructure_asset_part for an existing pair.

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