Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

settle_context

Resolve conflicting profile descriptions by asking which one the AI should use, and remember the pick until the description changes.

Instructions

When list_sources says two profiles describe a column or term differently, ask the user which one the AI should use. The pick is remembered until either description changes.

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": {
      "source": "<source>",
      "about": "<about>"
    },
    "name": "settle_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
aboutYes
sourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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. It does disclose one valuable behavioral trait beyond the schema: the pick persists and is invalidated when either description changes. It does not say that this is a state-mutating write, whether an existing settled pick can be seen or overwritten, or what the call returns, leaving meaningful gaps.

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?

Two sentences, no filler, with the triggering condition placed first and the persistence rule second. Every clause carries information the agent needs.

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 two-parameter tool with no annotations and no output schema, the definition covers the trigger and the persistence rule but leaves the interactive model (who asks the user), the keying of the conflict, and the return behavior unstated. Adequate to recognize the tool, not sufficient to call it confidently.

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 coverage is 0%, so the description must define both required parameters and does not. 'about' is weakly implied by 'column or term,' but 'source' is genuinely ambiguous — it is unclear whether it identifies the chosen profile, the source whose conflict is being settled, or something else, especially since the trigger involves two profiles but only one source parameter 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 description names a specific action (resolve a disagreement between two profiles by asking the user which one to use) and ties it to a named sibling, list_sources, so the agent can tell what this tool does versus what triggers it. It falls short of 5 because the tool's own mechanism is left implicit — whether settle_context itself prompts the user or the agent must do so.

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?

The trigger condition is explicit and front-loaded: 'When list_sources says two profiles describe a column or term differently.' That is clear when-to-use guidance tied to a concrete signal. There is no statement of when not to use it or what to do with three-or-more conflicting profiles, which keeps it below 5.

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