Skip to main content
Glama

x402-scrypt

Scrypt: Derive a scrypt password hash from a password and salt. Provide password and salt; returns the hex digest (optional keylen, default 32).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saltNoSalt to process
keylenNoKeylen to process
passwordNoPassword to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / keylen
      Added value: +{
      +  "description": "Keylen to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / password
      Added value: +{
      +  "description": "Password to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / salt
      Added value: +{
      +  "description": "Salt to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/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 behavioral burden, and it does disclose the output form (hex digest) and that keylen is optional with a default of 32. However, it omits the scrypt work factors (N, r, p) that govern the result and cost, which matter for reproducibility. It adds some value but is not complete.

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?

Front-loaded with the tool name and verb, then invocation and return value in two short sentences. Slight redundancy between 'from a password and salt' and 'Provide password and salt', but overall tight and well-ordered.

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?

No annotations and no output schema, so the description must stand alone; it covers the inputs and the return type adequately but leaves out scrypt cost parameters and the meaning of the string-typed keylen, both relevant for correct use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema's own descriptions are tautological ('Salt to process'), so the schema contributes little. The description adds that password and salt are the inputs and that keylen defaults to 32, though it does not explain why keylen is typed as a string or what its valid range is.

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?

Names a specific verb and resource (derive a scrypt password hash from password + salt) and states the return value (hex digest). Clear on its own, but it never distinguishes itself from closely related derivation siblings such as x402-pbkdf2 or x402-hash-generator, so an agent must infer the choice.

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?

The description only says what inputs to provide ('Provide password and salt'), which is invocation mechanics, not usage guidance. There is no statement of when to prefer scrypt over pbkdf2/plain hash, no note on use cases, and no alternatives named.

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