Skip to main content
Glama

Mango Inventory

Create location

create_location

Create ONE location, optionally under a parent location id (ids from search_resources). scaffold_locations creates a whole tree with a dry run and reuses existing nodes. Not idempotent: a repeated call creates a same-name sibling. Requires the manager role.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesLocation name
parentIdNoParent location resource id (omit for top level)

Output Schema

NameRequiredDescriptionDefault
nameNoLocation name as stored (trimmed)
locationIdNoThe new location's resource id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds context beyond the annotations: the manager-role authorization requirement and the concrete consequence of a repeated call (a same-name sibling is created), which is more actionable than the bare idempotentHint=false flag. It also clarifies that parentId is optional and that omitting it yields a top-level location.

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?

Four tight sentences with no filler, front-loaded with the core action and scope before the sibling distinction and constraints. Phrasing is slightly telegraphic, but every sentence carries distinct information.

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?

Covers everything an agent needs for a two-parameter mutation: purpose, alternative tool, prerequisite lookup, authorization, and repeat-call behavior, while annotations supply the safety profile and an output schema exists for return values.

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 100%, so the baseline is 3; the description earns an extra point by naming the source of valid parentId values (search_resources) and confirming that omitting the field means top level. It does not document expected id formats or failure modes for invalid ids.

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?

States a specific verb and resource ('Create ONE location') with an explicit scope constraint and names the sibling it is not ('scaffold_locations creates a whole tree'). An agent can distinguish it from scaffold_locations and search_resources without opening either schema.

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 routes the agent: use this for a single node, use scaffold_locations for a whole tree with a dry run and node reuse, and fetch parent ids from search_resources. Both when-to-use and when-to-prefer-an-alternative are stated.

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