Skip to main content
Glama

create_tag

Create a standalone group/tag without selecting or changing any expenses. The first call prepares a preview; after the user explicitly chooses to create it, send confirm:true with the returned operationId (fresh duplicate checks run). A first call with confirm:true still returns a preview. An exact canonical duplicate is a no-op; archived tags are not reactivated. Similar names are returned as choices; set allowSimilar:true only when the user explicitly chooses a distinct new group despite them. Use list_tags to inspect all groups.

Input Schema

NameRequiredDescriptionDefault
nameYesName of the new group/tag.
statusNoWhen true, read the verified outcome for operationId without creating or changing a tag.
confirmNoConfirm only after the user approves the preview; a first confirm call remains preview-only.
operationIdNoServer-issued preview operation ID to confirm a staged create.
allowSimilarNoAllow creation alongside similar names only when the user explicitly chooses a new distinct group.

Output Schema

NameRequiredDescriptionDefault
nameNo
errorNo
statusNo
choicesNo
createdNo
messageNo
successYes
retryableNo
existingTagNo
operationIdNo
similarTagsNo
confirmationNo
existingTagsNo
previewStaleNo
canonicalNameNo
requestedNameNo
existingMatchesNo
outcomeVerifiedNo
existingTagCountNo
groupManagementUrlNo
confirmationRequiredNo
requiresConfirmationNo
existingTagsTruncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses a staged preview/confirm transaction, that fresh duplicate checks re-run on confirm, that exact canonical duplicates are a no-op, that archived tags are not reactivated, and that similar names surface as choices. These are non-obvious semantics an agent would otherwise get wrong on a write tool.

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?

Six tight sentences, front-loaded with the core action then the confirmation protocol, then the edge cases. No restatement of the tool name and no filler; each sentence carries a distinct constraint.

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?

The two-step confirm flow is the main complexity risk for this tool and it is fully spelled out, including the fresh-duplicate-check behavior on the second call. An output schema exists, so omitting return-value detail is correct, and nothing needed to invoke it correctly is missing.

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, but the description adds meaning beyond the field docs: it explains the operationId round-trip between calls, that a first confirm:true call still only previews, and the risk condition under which allowSimilar is legitimate. It does not mention the status parameter's polling use, which the schema covers instead.

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 the specific verb and resource ('Create a standalone group/tag') and immediately scopes it against the obvious sibling: it does not select or change expenses, unlike group_expenses. An agent can distinguish this from group_expenses and list_tags without opening any 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?

Gives explicit when-to-use choreography (preview first, confirm only after user approval), an exclusion (don't set allowSimilar unless the user explicitly wants a distinct group), and routes inspection to list_tags. The confirm-without-preview edge case is called out rather than left to inference.

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.