Skip to main content
Glama

propose_joins

Starts a business-requirement run that profiles tables, ranks evidence-backed join candidates, and pauses for approval before building anything. Runs with no candidates complete with no proposals.

Instructions

Start a run for a business requirement. It profiles the tables, ranks join candidates with evidence and stops for approval (status awaiting_approval); nothing is built yet. With no join candidates the run completes at once with no proposals.

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": {
      "project_id": "<project_id>",
      "requirement": "<requirement>"
    },
    "name": "propose_joins"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
requirementYes

Output Schema

NameRequiredDescriptionDefault
errorNo
viewsNo
run_idYes
statusYes
warningsYes
proposalsNo
checks_totalNo
checks_passedNo
failed_checksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose meaningful behavior beyond the signature (profiling, ranking, halting at awaiting_approval, no build, immediate completion with zero candidates). It omits operational traits an agent would want for a run-starting operation: whether prior runs are affected, cost/duration of profiling, permission requirements, and side effects of creating the run record.

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 short sentences, front-loaded with the action, then the process, then the terminal state and edge case. No filler, and the most decision-relevant fact ('nothing is built yet') lands early.

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?

An output schema exists, so return values need no explanation, and the description fully covers the lifecycle and terminal states for a two-parameter tool. The only real shortfall is that neither required parameter is explained, which matters given zero schema description coverage.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does not: project_id is never mentioned and requirement is only loosely gestured at via 'business requirement' with no hint of expected form, despite a 3-2000 character constraint. The reader learns more about the run lifecycle than about what to put in either required field.

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 ('Start a run for a business requirement') and then enumerates the actual work: profiling tables, ranking join candidates with evidence, stopping at awaiting_approval. 'Nothing is built yet' plus the awaiting_approval status cleanly separates it from the approval/build step (approve_joins), so an agent can pick it without opening another 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 triggering context — use it when you have a business requirement and want join candidates proposed before anything is built — and covers the degenerate case where no candidates exist and the run finishes immediately. It does not explicitly name approve_joins as the follow-up alternative or state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.