Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

unapply_profile

Removes a profile from a connection so the AI can no longer see that connection once no profiles remain; falls back to block rules when the last profile is removed.

Instructions

Take a profile off a connection. The connection stays on profiles: with none left, the AI sees nothing of it (use_block_rules goes back to block rules).

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>",
      "source": "<source>"
    },
    "name": "unapply_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
profileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 a meaningful state effect — the source retains its profile assignment and reverts to block rules via use_block_rules when the last profile is removed — but says nothing about permissions, reversibility, or what happens if the profile was never applied.

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?

Two short sentences, front-loaded with the action, so there is little wasted text. However, 'The connection stays on profiles' is compressed to the point of ambiguity, and the parenthetical about use_block_rules reads as an aside rather than structured guidance.

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

Completeness2/5

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

This is a mutation tool with no annotations, no output schema, and zero parameter documentation, yet the description only covers the state-effect story. It leaves the agent without enough to call it confidently — no parameter meaning, no error or edge-case behavior.

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% for two required parameters, and the description never mentions 'source' or explains whether 'profile' is a name, ID, or object. The word 'connection' arguably maps to 'source,' but that mapping is left for the agent to guess.

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 states a concrete verb and resource: 'Take a profile off a connection,' which is clearly distinct from its sibling apply_profile. The only weakness is the term 'connection,' which does not appear in the schema (the parameter is 'source'), so the agent must infer that a connection is a source.

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 by the verb 'unapply' and the consequence about the AI seeing nothing of it, but there is no explicit when-to-use statement, no prerequisites (does the profile need to be applied first?), and no named alternative besides the incidental mention of use_block_rules.

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