Skip to main content
Glama

cfg_identity_hash

Hashes a private identity token into a sha256 identity for .cfg.toml setup, converting a raw token of at least 8 characters into the hashed value your config records need.

Instructions

Hash a private identity token for .cfg.toml setup.

Prefer the local CLI for real human secrets:
`printf '%s' '<token>' | cfg identity-hash --stdin`.

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

Input Schema

NameRequiredDescriptionDefault
tokenYesRaw identity token string to hash into a sha256 identity; must be at least 8 characters.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It surfaces an important security consideration (don't route real human secrets through this path) and implies a pure transformation for config setup, but it does not state whether the token is logged, whether the result is stored anywhere, or that the hash is deterministic sha256 — that last fact appears only in the parameter schema.

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 purpose sentence followed by a short, directly usable CLI example; nothing is padded. The CLI line could be slightly clearer about why it is preferable (safety) rather than leaving the connection to the first sentence's 'private' framing.

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?

An output schema exists, so return values need no explanation, and the single parameter is fully documented. For a one-parameter utility the remaining gap is behavioral (whether the secret transits, is stored, or is logged), not structural.

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% and the schema already documents the token as a raw string of at least 8 characters hashed to a sha256 identity. The description adds only the framing that the token is private, which is marginal value over structured data.

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?

Uses a specific verb and resource: hashes a private identity token specifically for .cfg.toml setup, which tells the agent this is a setup utility rather than a general config write. It doesn't name a sibling alternative, but no sibling in the catalog performs hashing, so the tool is naturally distinct.

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?

Gives one explicit when-not: for real human secrets, prefer the local CLI and provides the exact command. It stops short of saying when the MCP form IS appropriate (e.g. non-sensitive or automated setup), so the positive case is left partly implicit.

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