Skip to main content
Glama

Save a definition

fastero_save_definition
DestructiveIdempotent

Save or remove one shared definition, so every teammate's Claude and Fastero's assistant use it. kind is metric (expression: one aggregate SQL expression, e.g. SUM(CASE WHEN status = 'paid' THEN amount END)), dataset (table, fields with descriptions and isTime, primaryKey) or relationship (from and to dataset names, fromColumns and toColumns). Give connectionId when it only holds for one database, where it takes the place of one of its kind and name that holds for all; leave it out when it holds for all. The same kind and name for the same connection replaces the one saved before; remove: true deletes it. Every save is versioned. Save a definition when the user confirms what a number means, not on a guess.

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
kindYes
nameYes
grainNo
tableNoFor a dataset: the table, e.g. public.invoices.
fieldsNo
removeNo
synonymsNo
toColumnsNo
expressionNo
primaryKeyNo
descriptionNo
fromColumnsNo
connectionIdNoA data connection’s id, from fastero_list_connections; fastero_create_file_connection makes one of an uploaded CSV or Excel file.
instructionsNoHow to use it, e.g. "exclude test accounts".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / connectionId / description
      Previous value: -"A data connection’s id, from fastero_list_connections."New value: +"A data connection’s id, from fastero_list_connections; fastero_create_file_connection makes one of an uploaded CSV or Excel file."
  2. Changed1 schema field changed
    • addedInput schema / properties / connectionId / description
      Added value: +"A data connection’s id, from fastero_list_connections."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that same kind+name+connection replaces the prior definition, that remove: true deletes, and that every save is versioned — real mutation semantics that the destructiveHint flag alone doesn't convey. It stops short of saying whether prior versions are recoverable or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and dense with useful content, but the connectionId sentence ('where it takes the place of one of its kind and name that holds for all') is a convoluted run-on that an agent may misparse. The kind-payload clauses are packed into one long parenthetical rather than structured per kind.

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?

With 16 parameters and no output schema, the description covers the operation's core semantics and the discriminating fields. It leaves grain, synonyms, description and instructions unaddressed, which an agent filling in a dataset definition will need.

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 only 19%, and the description compensates well for the important fields: it explains the kind enum by giving the payload each kind expects (metric expression, dataset table/fields/isTime/primaryKey, relationship from/to/fromColumns/toColumns) and the connectionId scoping rule. Several parameters remain undocumented in both places — grain, synonyms, description, instructions — so it is not complete.

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?

States a concrete verb and resource ('Save or remove one shared definition') and explains the effect ('every teammate's Claude and Fastero's assistant use it'), which is far more than a name restatement. It does not name the counterpart reader tool (fastero_get_definitions) to differentiate, which keeps it short of a 5.

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?

'Save a definition when the user confirms what a number means, not on a guess' is an explicit trigger with an exclusion. It also gives a rule for when to supply connectionId versus omitting it. What's missing is how to handle an existing definition the agent wants to change rather than replace by name.

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.