Skip to main content
Glama

Create collection

create_collection

Create a collection (a named group of phrases) for the target language. Returns its id (use it as add_phrases' collection_id) and link.

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_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCollection name
nativeNoNative-language code. Defaults to the primary profile.
targetNoTarget-language code. Defaults to the primary profile.

Output Schema

NameRequiredDescriptionDefault
urlYesLink to this item in the Nightspar web app
nameYes
collectionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, non-open-world write, so the safety profile is covered. The description adds that it returns an id and a link and that native/target default to the primary profile, which is genuine context. It still does not say whether creation is idempotent or how name collisions are handled.

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?

Two short sentences with zero filler: the action and resource come first, then the return contract and its downstream use. Nothing could be removed without losing information.

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

Completeness4/5

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

For a simple three-parameter create tool with an output schema and full annotation coverage, the definition covers purpose, defaults, and the follow-up workflow. The only meaningful gap is failure-mode behavior on duplicate names.

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% and each parameter is documented, so the baseline is 3. The description adds a small amount beyond the schema by tying the operation to the target language and noting that the language parameters fall back to the primary profile defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource plus a parenthetical definition of 'collection' as 'a named group of phrases', and scopes it to the target language. That is enough for an agent to distinguish it from list_collections and add_to_collection, though it never explicitly contrasts them.

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

Usage Guidelines3/5

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

There is a useful forward-looking hint that the returned id feeds add_phrases' collection_id, which implies the create-then-populate workflow. However, it never states prerequisites (e.g., whether a language profile must already exist) or what to do when a collection with the same name already exists.

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