Skip to main content
Glama

Generate scope hash for Self verification (like tools.self.xyz)

generate_scope_hash
Read-only

Generate verification hashes for Self protocol by processing Ethereum addresses or HTTPS URLs with scope identifiers to enable identity verification checks.

Instructions

Generate a scope hash for Self verification, replicating hashEndpointWithScope.

Args: address_or_url: Either an Ethereum address (0x...) or HTTPS URL scope_seed: Scope identifier (max 20 chars, lowercase ASCII only)

Returns: Dictionary with scope_hash, validation status, and input type

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
address_or_urlYesEthereum address (0x...) or HTTPS URL
scope_seedYesScope seed string (max 20 chars, lowercase)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations provide readOnlyHint=true, and the description doesn't contradict this. It adds valuable context about the tool's purpose (replicating hashEndpointWithScope) and output format (dictionary with scope_hash, validation status, input type), which goes beyond the annotations' safety declaration.

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?

The description is efficiently structured with a clear purpose statement, parameter details in a formatted Args section, and return value explanation. Every sentence serves a distinct purpose without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity, 100% schema coverage, annotations covering safety, and an output schema (implied by 'Returns'), the description provides complete context. It explains what the tool does, its inputs, and output structure adequately.

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 description coverage is 100%, so the schema already fully documents both parameters. The description repeats the parameter information but doesn't add meaningful semantic context beyond what's in the schema, such as examples or edge cases.

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 clearly states the specific action ('Generate a scope hash') and purpose ('for Self verification'), with explicit reference to replicating 'hashEndpointWithScope'. It distinguishes from siblings by focusing on hash generation rather than status checking, debugging, or documentation tasks.

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

Usage Guidelines3/5

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

The description implies usage for Self verification contexts but doesn't explicitly state when to use this tool versus alternatives like 'generate_verification_code' or 'generate_verification_config'. No exclusions or specific prerequisites are mentioned, leaving usage context somewhat open-ended.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/selfxyz/self-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server