Skip to main content
Glama

Invokely official statistics

Save to a collection

save_to_collection
Idempotent

Save a statistic page to one of the user's collections when they ask to keep, bookmark or save it. Without collection it goes to the default collection, "Saved". Saving the same page again keeps one item and updates its note. What to save: an indicator and a place (a value), an indicator and a ranking scope (a ranking, scope as in the ranking URL: "us-states", "eu-countries", "countries", "texas-counties"), an indicator alone, a place alone, a topic or a publisher. kind is inferred when left out. Examples: {"indicator": "unemployment_rate", "place": "Texas"}. {"indicator": "gdp_per_capita_usd", "scope": "countries", "note": "For the board deck"}. {"kind": "topic", "topic": "labour", "collection": "col_3f9a..."}. Returns {collection: {id, name, visibility}, item: {id, kind, note?}, created, dashboard_url}. A collection holds up to 100 items. Free on every plan.

Input Schema

NameRequiredDescriptionDefault
kindNoOptional. value, ranking, indicator, place, topic or publisher.
noteNoOptional note shown with the item.
placeNoPlace name or id, for example "Texas" or "es-mun-08121".
scopeNoRanking scope, for example "us-states".
topicNoTopic id or slug, for example "labour" or "labor-market".
indicatorNoIndicator id, for example "unemployment_rate".
publisherNoPublisher id or slug, for example "bls" or "ine".
collectionNoOptional collection id from list_collections. Default: the user's "Saved" collection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the default destination ('Saved'), the de-duplication behavior (re-saving keeps one item and updates its note), the 100-item collection cap, and cost ('Free on every plan'). This corroborates idempotentHint/destructiveHint with concrete operational detail an agent could not infer.

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?

Front-loads the action and trigger, then organizes the remainder under 'What to save', examples, and return shape with no filler. It is dense but each element (combination rules, examples, limits) carries information useful for correct invocation.

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 8 all-optional parameters and no output schema, the description supplies exactly what is missing: kind inference rules, valid input combinations, default collection, the return shape, and the 100-item limit. Nothing needed to invoke it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description adds real meaning the schema cannot: the valid combinations (indicator+place=value, indicator+scope=ranking, indicator alone, place alone, topic, publisher) and that 'kind is inferred when left out', plus additional scope values beyond the single schema example.

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+resource ('Save a statistic page to one of the user's collections') and scopes it with a clear trigger condition. It is unambiguously distinguishable from siblings like list_collections and get_collection, which read collections rather than add items.

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

Usage Guidelines4/5

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

Gives a clear situational trigger ('when they ask to keep, bookmark or save it') and states the default behavior when no collection is supplied. It does not explicitly say when NOT to use it or name an alternative tool, so it stops short of a full 5.

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