Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

draft_link

Propose a link between two granted profile columns across tables, then let the user approve joining them on those exact columns.

Instructions

Draft a link for a profile: column (table.column) holds the same values as other_column of another table, in the same source or a different one (a buyer email and a CRM contact email, an order's customer_id and the customers' id). Once the user approves it (approve_context), you're told to join those tables on exactly these columns. Both columns must be granted by the profile. text may say how they match, in the user's words.

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": {
      "profile": "<profile>",
      "column": "<column>",
      "other_column": "<other_column>"
    },
    "name": "draft_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
columnYes
profileYes
other_columnYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does useful work: it discloses that this is a non-committal draft that only takes effect after approve_context, and it states a hard precondition (both columns must be granted by the profile). It does not say what is returned (a draft handle?), what happens on a rejected/invalid column, or whether drafts can be listed via context_drafts.

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?

The core claim (this column equals that column) is front-loaded and the parenthetical examples are concrete rather than padding. The prose is dense and slightly run-on, with the approval clause and the grant prerequisite packed into the tail, but nothing is genuinely redundant.

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 4-parameter mutation-style tool with no annotations and no output schema, the definition covers purpose, the approval gate, the grant precondition, and three of four parameters. The remaining gaps — what `profile` accepts, what the call returns, and failure behavior — are real but modest.

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 0%, so the description has to compensate, and it largely does: `column` is specified as table.column, `other_column` as a column on a different or same source table, and `text` as the user's own wording of how the values match. `profile` is only implied by "for a profile" — its identifier format and meaning are never explained, leaving one of four parameters undefined.

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?

The description gives a specific verb and resource ("Draft a link for a profile") and defines the semantics precisely: `column` holds the same values as `other_column` of another table, with concrete examples (buyer email / CRM contact email, order customer_id / customers id). It also implicitly separates drafting from committing by naming approve_context as the follow-up step. It stops short of naming other draft siblings (draft_definition, draft_meanings, share_link), so sibling differentiation is partial.

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?

It clearly places the call in a workflow: draft now, then the link takes effect once the user approves via approve_context. It also states the eligibility condition that both columns must be granted by the profile, which tells the agent when the call is valid. There are no explicit exclusions (e.g., when to use share_link or draft_definition instead), so a 4 rather than a 5.

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