Skip to main content
Glama

password-hashing-and-jwt-service

invoke

Hash passwords with bcrypt and issue/verify JWT session tokens.

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

Input Schema

NameRequiredDescriptionDefault
inputYesJSON request for this capability (the same body you'd send as an A2A message).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does not meet it. It says nothing about where the signing secret or bcrypt cost comes from, whether hashing is salted, whether verification failures are errors or negative results, token lifetime, or side effects. It also does not explain whether both operations share one code path or how the request selects between them.

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?

A single front-loaded sentence with no filler, hedging, or redundant restatement of the name. It reads cleanly, though its brevity is partly a symptom of under-specification rather than discipline; still, the wording itself earns its place.

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?

For a tool with no annotations, no output schema, and an opaque single JSON parameter covering two distinct operations, the description is far too thin to call it correctly. Returning only a bare token or a boolean is unstated, and the request contract is unknown. An agent would have to guess at the payload shape before making any call.

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 nominally 100%, but the only documented parameter is a free-form 'JSON request for this capability', and the description adds no field-level meaning at all. The critical unknown — how to encode 'hash' versus 'issue' versus 'verify' inside that JSON, and which keys carry the password or token — is left entirely unexplained by both description and schema. The baseline of 3 for high coverage is undercut because the coverage itself is content-free.

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 concrete verbs and resources: bcrypt password hashing plus issuing and verifying JWT session tokens. That is far more specific than the generic name 'invoke' and implicitly separates it from the sibling 'selftest' (a self-check, not a real operation). It stops short of 5 because it never says what 'invoke' is as a category — a single capability endpoint or a broader dispatcher — so the scope boundary remains ambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative routing guidance. The agent must infer that it should call this when it needs a hash or a token, and gets no help deciding between hashing and verification, or what to do if the request fails. It is a bare statement of capability, not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources