Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

update_password

Ask the user to type a new password for a database source when it changed or tests show it missing or incorrect, without receiving the password; keep the old one until the new one works.

Instructions

Have the user enter a new password for a database source (when it changed, or test_source says it's missing or wrong). Never takes the password: the user types it where you can't see it. The old password stays until the new one works.

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": {
      "name": "<name>"
    },
    "name": "update_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses that the tool never accepts the secret, that the user enters it out-of-band, and that the previous password remains active until the new one succeeds. That rollback/atomicity note is exactly the kind of non-obvious behavior an agent needs before invoking a credential mutation.

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?

Three short sentences, front-loaded with the action and trigger, followed by the safety constraint and the state guarantee. Every clause carries information an agent would otherwise have to guess.

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 one-parameter tool with no annotations and no output schema, the definition covers the trigger, the security model, and the failure semantics. It stops short of indicating what the caller observes after the user enters the password, which would be useful since no output schema exists to describe it.

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% and the single 'name' parameter is documented only as 'Name'. The description compensates by framing it as identifying a database source, but it does not explicitly say the parameter is the source name or whether it must match an existing source, leaving a small gap.

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 states a specific action (have the user enter a new password) on a specific resource (a database source), and it immediately distinguishes this tool from a read/verification path by pointing at test_source. An agent can tell this initiates a user-side prompt rather than writing a credential itself.

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

Usage Guidelines5/5

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

Two explicit triggers are given: the password changed, or test_source reports it is missing or wrong. That names the companion tool and the condition under which this one should be called instead, so routing is unambiguous without opening either schema.

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