Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

draft_meanings

Draft business meanings for tables and columns allowed by a data profile from schema and sample rows, then hold them for user approval before use.

Instructions

Draft what tables and columns a profile grants mean, from their schema and sample rows (pull a few first). Each draft waits on this computer for the user's approval and is used for nothing until then; then ask the user to review them with approve_context. Only tables and columns the profile grants can have a meaning.

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>",
      "meanings": "<meanings>"
    },
    "name": "draft_meanings"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileYes
meaningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Because no annotations are provided, the description carries the full burden and does well here: it states that drafts remain on this computer, wait for user approval, and are used for nothing until then. That is meaningful lifecycle and side-effect disclosure. It does not cover duplicate-draft handling, overwrite behavior, or errors for non-granted tables.

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 description is three tight sentences and the core action is front-loaded, followed by the lifecycle note and the hard constraint. All sentences carry weight, with only slight density in the approval clause.

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 two-parameter drafting tool with no annotations and no output schema, the description covers the action, the precondition, the approval path, and the permission boundary. The remaining gap is what the tool returns, such as draft identifiers or a count, which the agent would need to chain into approve_context.

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

Parameters3/5

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

Schema coverage is reported as 0%, so the description must compensate. It implies the 'profile' parameter through 'a profile grants' and the 'meanings' array through 'what tables and columns ... mean,' and it adds the real semantic rule that only granted tables and columns are allowed. However, it never explains the meaning of the profile argument, such as the profile identifier format or how to obtain one.

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?

The description uses a specific verb (draft) on a specific resource (the meanings of tables and columns in a profile), and it adds the qualifying constraint that only granted tables and columns qualify. An agent can tell this apart from approve_context and other drafting siblings 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?

It gives an explicit prerequisite ('pull a few first' by inspecting schema and sample rows), an explicit next step ('ask the user to review them with approve_context'), and an explicit constraint that only granted tables and columns can have a meaning. It does not compare itself to draft_definition or draft_link, but the usage path is clear.

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