Skip to main content
Glama

ProofX - Content Protection for Creators

compute_hash

Read-onlyIdempotent

Compute the SHA-256 hash of text content locally. Useful for creating a fingerprint of content for verification purposes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text content to hash

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed4 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "The text content to hash",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "text"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / text
      Removed value: -{
      -  "description": "The text content to hash",
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "text"
      -]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds context: it computes a hash locally, uses SHA-256, and works on text content. It does not contradict annotations. The only gap is that it doesn't mention what the output format is (e.g., hex string), though this is often assumed for hashes.

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?

Two short sentences: the first defines what it does, the second provides usage context. No wasted words, and both are essential. Front-loaded with the action.

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 simple, single-parameter, read-only, idempotent tool with full schema coverage, the description covers the main behavioral aspects. It lacks mention of output format or encoding, but this is minor given the tool's simplicity.

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%, so the schema already documents the single parameter 'text' as 'The text content to hash'. The description adds 'locally' and 'SHA-256' context but not parameter-level detail beyond what the schema provides. Baseline 3 is appropriate.

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 uses a specific verb ('Compute') and resource ('SHA-256 hash of text content'), and adds the clarifying purpose ('creating a fingerprint of content for verification purposes'). It clearly distinguishes itself from sibling tools like 'verify_content' and 'verify_hash', which operate on the output of this tool rather than computing it.

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?

The description states it is 'useful for creating a fingerprint of content for verification purposes,' which clearly indicates when to use it. However, it does not explicitly mention when not to use it or point to alternatives (e.g., 'verify_hash' for comparison). Still, the context is clear enough for an AI agent to infer appropriate use.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: local hash computation, creator profile lookup, own account info, content protection, verification by ID, and verification by hash. No overlapping functionality.

Naming Consistency4/5

Five of six tools follow a verb_noun pattern (compute_hash, get_creator, protect_content, verify_content, verify_hash). Only 'my_account' deviates as a possessive noun phrase, but it remains clear and conventional for account info.

Tool Count5/5

Six tools is well-scoped for a content protection server. Each tool serves a necessary function without redundancy or excess, fitting the domain naturally.

Completeness4/5

Core workflows (hash computation, protection, verification by ID or hash, creator lookup) are covered. Missing features like listing a creator's protected content or unprotecting content are minor gaps that don't break the primary use case.

Resources