Skip to main content
Glama
yaaif

@yaaif/platform-mcp

by yaaif

yaaif_agent_spec_upsert_slot

Add or update one architecture slot and its requirement links without replacing the existing slot list.

Instructions

Create or update one architecture slot and its requirement links without replacing the slot list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slotYes
spec_idYes
expected_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.5

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It does mention the non-destructive aspect (without replacing the slot list), but fails to disclose optimistic concurrency behavior (expected_version), how requirement links are handled (replace vs. merge), or error conditions. Partial transparency only.

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?

The description is a single sentence that front-loads the action and the key behavioral caveat. No unnecessary words or redundancy.

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?

The tool has a nested slot object with multiple fields, no output schema, and no annotations. The description leaves critical context unaddressed: what expected_version means, what constitutes a valid slot_key or kind, how requirement_keys are used, and the precise semantics of upsert. An agent would struggle to call this correctly based solely on the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it does not explain any parameter meaning. The required parameters spec_id, expected_version, and slot are not mentioned, and nested fields like requirement_keys and kind remain unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states a specific verb (Create or update), resource (one architecture slot and its requirement links), and a key behavioral distinction (without replacing the slot list). This effectively differentiates it from upsert_slots (plural) and other slot-related tools.

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 description implies a single-slot scope via 'one' and distinguishes from list replacement, but it does not explicitly state when to choose this tool over alternatives like yaaif_agent_spec_upsert_slots or yaaif_agent_spec_update. No conditions, exclusions, or alternatives are named.

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

Deploy Server

Other Tools