Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

define_assumption

Turns a saved assumption into a named, editable definition that the user confirms; once saved, it becomes a new profile version and is applied to future interactions with that data source.

Instructions

Turn one of your assumptions (see assumptions) into a named definition: the user sees it with term, can edit both, and says yes or no in their own prompt. Saved, it joins the profile applied to that source as a new version (name profile when several are applied) and you're given it from then on.

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": {
      "assumption_id": "<assumption_id>",
      "term": "<term>"
    },
    "name": "define_assumption"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYes
profileNo
assumption_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: a user-facing confirmation step ("says yes or no in their own prompt") and a durable side effect (joins the applied profile as a new version, with name `profile` when several are applied). It never states what happens on rejection, whether the write is deferred until confirmation, or whether the new version supersedes the prior one — significant gaps for an unannotated mutation.

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?

It is a single sentence, which is efficient in length, but it is heavily nested and jargon-laden ("joins the profile applied to that source as a new version (name `profile` when several are applied)"). The core action is front-loaded; the trailing clause about future availability is vaguer than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter mutation with no annotations and no output schema, the description covers the parameters and the persistence side effect, but leaves the return value and the rejection path unspecified. An agent knows roughly what to send and what it means semantically, but not what it gets back or how failure manifests.

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 description coverage is 0%, so the description must compensate, and it largely does: `assumption_id` is framed as "one of your assumptions", `term` as what "the user sees", and `profile` as the profile-name disambiguator when several profiles are applied. It adds genuine meaning beyond bare titles, though it doesn't say whether `term` must be unique or what `profile` does when only one profile exists.

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 verb+resource is specific: turn an existing assumption into a named definition, with the display term and a human confirmation. It explicitly points to the sibling `assumptions` as the source of the input, which helps distinguish it from `draft_definition` and `create_profile`. The phrasing is dense and slightly abstract, but an agent can tell what it produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: "Turn one of your assumptions (see assumptions)" tells the agent the prerequisite step, and "Saved, it joins the profile..." implies persistence. There is no explicit when-not guidance or comparison against `draft_definition`/`apply_profile`, so the agent must infer the workflow position.

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