Skip to main content
Glama
vdappdev2

vtimestamp-mcp

vtimestamp_list

Retrieve all recorded timestamps for a VerusID, displaying hash, title, metadata, and blockchain proof details to verify document authenticity on the Verus blockchain.

Instructions

List all timestamps recorded on a VerusID. Returns an array of timestamps with hash, title, metadata, and blockchain proof details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identityYesVerusID name (e.g., "alice@")

Implementation Reference

  • The implementation of the `vtimestamp_list` MCP tool, which lists all timestamps recorded on a VerusID.
    server.tool(
      'vtimestamp_list',
      'List all timestamps recorded on a VerusID. Returns an array of timestamps with hash, title, metadata, and blockchain proof details.',
      {
        identity: z.string().describe('VerusID name (e.g., "alice@")'),
      },
      async ({ identity }) => {
        if (!isValidIdentity(identity)) {
          throw new McpError(
            ErrorCode.InvalidParams,
            'Invalid identity format — must be a VerusID name ending with @ (e.g., "alice@")'
          );
        }
    
        try {
          const keys = getVdxfKeys();
          const historyResponse = await getIdentityHistory(identity);
          const timestamps = parseAllTimestamps(historyResponse.history, keys);
    
          // Fetch block times for all timestamps
          const results = await Promise.all(
            timestamps.map(async (ts) => {
              let blocktime: number | undefined;
              try {
                const block = await getBlock(ts.blockhash);
                blocktime = block.time;
              } catch {
                // Block time is optional
              }
    
              return {
                hash: ts.data.sha256,
                title: ts.data.title,
                description: ts.data.description ?? null,
                filename: ts.data.filename ?? null,
                filesize: ts.data.filesize ?? null,
                block_height: ts.blockheight,
                block_time: blocktime
                  ? new Date(blocktime * 1000).toISOString()
                  : null,
                transaction_id: ts.txid,
              };
            })
          );
    
          return {
            content: [
              {
                type: 'text' as const,
                text: JSON.stringify(
                  {
                    identity: historyResponse.fullyqualifiedname,
                    timestamp_count: results.length,
                    timestamps: results,
                  },
                  null,
                  2
                ),
              },
            ],
          };
        } catch (err) {
          if (err instanceof VerusRpcError && err.code === RPC_ERROR_CODES.IDENTITY_NOT_FOUND) {
            return {
              content: [
                {
                  type: 'text' as const,
                  text: JSON.stringify({
                    error: `Identity '${identity}' not found`,
                  }),
                },
              ],
              isError: true,
            };
          }
    
          return {
            content: [
              {
                type: 'text' as const,
                text: JSON.stringify({
                  error: `Failed to list timestamps: ${err instanceof Error ? err.message : 'Unknown error'}`,
                }),
              },
            ],
            isError: true,
          };
        }
      }
    );
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the return format ('array of timestamps with hash, title, metadata, and blockchain proof details'), which is helpful, but fails to address critical aspects like whether this is a read-only operation, potential rate limits, authentication requirements, or error conditions. The description adds some value but leaves significant gaps for a tool with no annotation coverage.

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?

The description is concise and front-loaded, consisting of two sentences that efficiently state the action and return value. There is no wasted text, but it could be slightly improved by integrating usage context or sibling differentiation without sacrificing brevity.

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?

Given the tool's low complexity (single parameter, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and return format, but lacks details on behavioral traits, usage guidelines, and error handling. For a simple list tool, this is acceptable but leaves room for improvement in completeness.

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?

The input schema has 100% description coverage, clearly documenting the single required parameter 'identity' as a VerusID name. The description does not add any additional meaning beyond what the schema provides, such as examples of valid formats beyond 'alice@' or edge cases. Baseline score of 3 is appropriate since the schema does the heavy lifting.

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 clearly states the tool's purpose with a specific verb ('List') and resource ('timestamps recorded on a VerusID'), and it distinguishes the scope by mentioning 'all timestamps'. However, it doesn't explicitly differentiate from sibling tools like 'vtimestamp_info' or 'vtimestamp_verify', which might provide more detailed or verification-focused functionality.

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 provides no guidance on when to use this tool versus its siblings ('vtimestamp_info' and 'vtimestamp_verify'). It lacks context on prerequisites, such as whether the VerusID must exist or be accessible, and offers no explicit alternatives or exclusions for usage.

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/vdappdev2/vtimestamp-mcp'

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