Skip to main content
Glama

Propose a link

propose_link
Idempotent

Propose a link between two datasets of the same workspace (orders.customer_id → customers.id), so agents can filter, group and total across both. to_columns must be a key of the second dataset (one row per value) unless many_to_many. It is checked on the data, then waits for an owner or editor to confirm it; you get the share of values that match.

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": {
      "from_dataset_id": "<from_dataset_id>",
      "from_columns": "<from_columns>",
      "to_dataset_id": "<to_dataset_id>",
      "to_columns": "<to_columns>"
    },
    "name": "propose_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoOne sentence on why: what the user asked, or what you noticed in the data. The approver sees it.
to_columnsYes
from_columnsYes
many_to_manyNo
to_dataset_idYesDataset id from list_datasets, e.g. ds_ab12cd34ef56
from_dataset_idYesDataset id from list_datasets, e.g. ds_ab12cd34ef56

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say non-read-only, non-destructive, idempotent. The description discloses the real workflow: the link is validated against the data, then queued for an owner or editor to approve, and the caller receives the share of matching values — critical context for an agent that might otherwise assume the link is live immediately.

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 sentences, front-loaded with the action and an illustrative example, then the key constraint, then the approval/return behavior. No filler and nothing repeated from the schema or annotations.

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 six-parameter mutation with no output schema, the description covers the essential unknowns: validation, human approval, and the match-share result. It does not say what happens on validation failure or what identifier the proposal returns, which would matter for follow-up calls.

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 50% (only the two dataset id params are documented), so the description must carry the rest, and it does: it explains that to_columns must be a key of the second dataset with one row per value, and that many_to_many relaxes that constraint. The directional example clarifies from/to semantics, though from_columns itself gets no explicit definition.

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 and resource ('Propose a link between two datasets') and pins the scope with a concrete example ('orders.customer_id → customers.id'). That resource differs plainly from the propose_* siblings that target briefs, definitions and terms, so an agent can select this tool without opening the schema.

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 clear use-case context — the link exists 'so agents can filter, group and total across both' — which tells the agent when this tool is the right move. It stops short of naming an alternative or stating when not to propose a link (e.g. when a link already exists), so it is strong but not fully explicit.

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.