Skip to main content
Glama

add_marcora_collection

Idempotent

Adds a published Marcora Collection (marcora_collection_id, slug, or title from list_marcora_collections) to the user's library (idempotent; already_in_library: true means already active). Call without confirmation when a user names that collection to use, then pass the returned collection_id to get_relevant_context or list_context_items. Present link_url as returned.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
slugNoSlug of the published Marcora Collection (or a full https://marcora.ai/collections/<slug> URL). Provide marcora_collection_id, slug, or title.
titleNoExact public title of the Marcora Collection (case-insensitive), for example from a user's prompt. Provide marcora_collection_id, slug, or title.
marcora_collection_idNoPublished Marcora Collection ID from list_marcora_collections. Provide marcora_collection_id, slug, or title.

Output Schema

NameRequiredDescriptionDefault
slugYes
itemsYes
stateYes
titleYes
statusYes"already_in_library" when the collection was already active in the user's library; "added" when this call added or un-hid it.
messageYesPlain-text status and next-step instruction (states whether the collection was already in the library or newly added, and which collection_id to pass to get_relevant_context).
link_urlYesURL to view Marcora Collections in the Marcora web app.
in_libraryYes
item_countYes
descriptionNo
collection_idYesContext collection ID to pass in collection_ids on get_relevant_context or as collection_id on list_context_items.
availability_modeNo
already_in_libraryYesTrue when the collection was already active in the user's library before this call (for example, attached at signup or previously added); false when this call newly added or un-hid it. When true, go straight to answering the user's request.
marcora_collection_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the description's restatement of idempotency is marginal, but it earns credit by decoding the output flag (`already_in_library: true` means already active) and instructing that `link_url` be presented as returned. It stops short of saying what happens if no identifier resolves or whether a title match can be ambiguous among multiple collections.

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 tight sentences, front-loaded with the action, then the invocation rule, then the output handling. No sentence repeats the name/title or the annotations verbatim, and nothing is buried mid-clause.

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?

With an output schema present, the description need not explain return values, yet it still flags the two fields an agent must act on (`collection_id`, `link_url`) plus the idempotency signal. Combined with full schema coverage and annotations, this covers everything needed to select and invoke the tool correctly.

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 description is already detailed, so the baseline would be 3; the description adds real sequencing value by naming `list_marcora_collections` as the provenance of `marcora_collection_id` and framing the three fields as mutually alternative identifiers. It adds no new constraints (case-insensitivity, URL form) beyond what the schema states.

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 opens with a specific verb+resource ("Adds a published Marcora Collection ... to the user's library") and immediately ties it to sibling `list_marcora_collections` as the identifier source, so the agent can tell the write-side add apart from the read-side list without inspecting schemas.

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?

It gives an explicit invocation trigger ("Call without confirmation when a user names that collection to use") and then routes the agent forward, telling it to pass the returned `collection_id` to `get_relevant_context` or `list_context_items`. That is concrete when-to-use plus named follow-up alternatives, not implied usage.

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