Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

assign_objects_to_label

Destructive

Assign or unassign cloud resources to a label by providing object IDs and types. Confirm assignments before executing.

Instructions

Use this when the user wants to assign or unassign cloud resources to a label. Ask the user to confirm the assignments before executing. Do NOT use this for creating labels (use create_label) or viewing assignments (use get_label_assignments).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe ID of the label to assign or unassign objects to.
addNoArray of objects to assign to the label. Each object must have objectId and objectType.
removeNoArray of objects to unassign from the label. Each object must have objectId and objectType.
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, covering mutation and side effects. The description adds the confirmation requirement but does not elaborate on permissions, error states, or operation details.

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?

Three sentences, each serving a purpose: usage context, confirmation guideline, and exclusion of sibling tools. Front-loaded with purpose, no wasted words.

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?

Describes operation and provides usage guidance, but lacks information about return values, success/error responses, or behavior of simultaneous add and remove. Given no output schema, the agent may need more context on expected outcomes.

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 the schema fully documents the parameters. The description adds no additional semantic value beyond stating 'assign or unassign cloud resources' – no extra detail on add/remove arrays or object types.

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?

Clear verb+resource: 'assign or unassign cloud resources to a label'. Explicitly distinguishes from sibling tools create_label and get_label_assignments, leaving no ambiguity about scope.

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

Usage Guidelines5/5

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

Explicitly states when to use (user wants assign/unassign) and when not to (creating labels or viewing assignments), naming alternative tools. Also advises to ask user confirmation before executing.

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/doitintl/doit-mcp-server'

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