Skip to main content
Glama
Mipiti
by Mipiti

assign_asset_to_components

Assign an asset to components to define its code-ownership binding, enabling reachability derivation from trust boundaries without separate asset boundary IDs.

Instructions

Replace an asset's component scope.

Mirror of assign_control_to_components for assets. Components are the canonical bridge between security architecture (trust boundaries) and code organization (repos). Linking assets to components flows boundary context into reachability derivation without giving Asset its own trust_boundary_ids.

An asset's component scope can be:

  • Unscoped (empty string): no explicit code-ownership binding. Reach decisions fall back to LLM judgment of the asset's description / security properties.

  • Single-component: standard case for assets handled by one deployable unit.

  • Multi-component: a multi-instance asset that flows through several components (e.g., a session token on client + cache

    • DB — each component handles a distinct instance).

Mechanical, non-AI-gated. Validates only that every referenced component exists on the model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idYesID of the asset to scope (e.g., "A1").
model_idYesID of the threat model.
change_reasonYesWhy this scope is appropriate (min 10 chars). Captured in the model's version history.
component_idsYesComma-separated component IDs (e.g., "CMP1,CMP2"). Empty string = unscoped.
server_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations provided, so description carries full burden. Explains impact on reachability derivation, fallback behavior for unscoped assets, validation of component existence, and that it is 'Mechanical, non-AI-gated'.

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?

Description is concise with a clear one-line summary followed by structured explanations. Front-loaded with purpose, no wasted sentences.

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

Completeness5/5

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

With output schema present, return values need not be explained. The description covers all required aspects: purpose, parameter semantics, behavioral traits, and usage scenarios. Differentiates from sibling tool.

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

Parameters4/5

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

Schema coverage is 80%, baseline 3. Description adds context for component_ids (empty string = unscoped) and explains the three scoping options, but does not elaborate on other parameters beyond what schema provides.

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 'Replace an asset's component scope,' and immediately distinguishes itself as a mirror of 'assign_control_to_components' for assets.

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

Usage Guidelines4/5

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

Describes when to use (for linking assets to components) and lists three scope scenarios (unscoped, single-component, multi-component). Mentions it's 'Mechanical, non-AI-gated,' but does not explicitly exclude other tools or provide when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mipiti/mipiti-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server