Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

create_allocation

Destructive

Define a new cost allocation rule to group cloud costs by dimensions, labels, or tags. Specify rules with components and formulas for precise cost tracking.

Instructions

Use this when the user wants to create a new cost allocation rule. Ask the user to confirm the allocation parameters before executing. Do NOT use this for viewing existing allocations (use list_allocations) or labels (use create_label).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name of the allocation
descriptionYesDescription of the allocation's purpose
ruleNoA single allocation rule that defines one grouping. Provide this for a single-rule allocation. Mutually exclusive with 'rules'
rulesNoOrdered list of allocation rules for a group allocation. Must include at least two rules. Mutually exclusive with 'rule'
unallocatedCostsNoCustom label for values that do not fit into any allocation rule (required when using 'rules' for group allocations)
Behavior3/5

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

Annotations already indicate destructiveHint=true, so the description adds value by instructing to confirm parameters before execution. However, it does not elaborate on what exactly is destroyed or other behavioral traits like necessary permissions or side effects, leaving some gaps.

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 concise, with three sentences that front-load the purpose and provide clear boundaries. No extraneous information, every sentence is valuable.

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?

Given the tool's complexity (nested objects, mutually exclusive rule vs. rules), the description is too brief. It does not explain the structure of rules or guide on choosing between 'rule' and 'rules'. The schema helps, but more context is needed for full agent comprehension.

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 baseline is 3. The description does not add any additional meaning beyond the schema; it only generically mentions 'allocation parameters' without deepening understanding of the rich nested structures.

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?

The description clearly states the tool is for creating a new cost allocation rule, using a specific verb and resource. It also distinguishes it from sibling tools like list_allocations (viewing) and create_label (labels), avoiding ambiguity.

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 tells when to use (user wants to create a new allocation rule), when not to use (viewing existing allocations or creating labels), and provides alternatives. Also instructs to ask user for confirmation before executing, setting clear usage expectations.

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