Skip to main content
Glama
hlteoh37

mcp-devutils

by hlteoh37

jwt_create

Create HS256-signed JWT tokens for testing APIs, mocking authentication, and generating test tokens. Specify payload, secret, and expiration.

Instructions

[PRO — 3 trial uses left] Create a JWT token signed with HS256. Useful for testing APIs, mocking auth, and generating test tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secretNoSecret key for HS256 signing (default: 'secret')
payloadYesJSON string for the JWT payload (e.g. {"sub":"1234","name":"Test"})
expiresInNoExpiration in seconds from now (default: 3600)
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the signing algorithm (HS256) and practical use cases. It does not mention error conditions or the output format, but the core behavior is clear and no contradictions exist with the schema.

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 a single concise sentence (excluding the PRO trial notice) that front-loads the action. Every word contributes value, with no redundant information.

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?

For a simple tool with fully documented parameters and no output schema, the description is complete. It explains what the tool does, the algorithm, and when to use it, covering all necessary context for an agent.

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 baseline is 3. The description mentions 'signed with HS256' but does not add parameter-specific details beyond what the schema already provides. Thus, it scores at the baseline.

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 states 'Create a JWT token signed with HS256' which is a specific verb+resource, clearly distinguishing it from jwt_decode. It also lists concrete use cases, making the tool's purpose unambiguous.

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 provides clear usage context: 'Useful for testing APIs, mocking auth, and generating test tokens.' It does not explicitly name alternatives or state when not to use it, but the use cases are sufficient for an agent to select this tool appropriately.

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/hlteoh37/mcp-devutils'

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