Skip to main content
Glama
c-sakel
by c-sakel

JWT Token holen

jwt_authenticate

Authenticate with WordPress and obtain a JWT token for API access. Requires the JWT plugin; credentials can be provided directly or via environment variables.

Instructions

Authentifiziert bei WordPress und holt einen JWT Token (erfordert JWT Plugin)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordNoPasswort (optional, nutzt Env-Variable)
usernameNoWordPress Benutzername (optional, nutzt Env-Variable)
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 for behavioral disclosure. It only mentions the prerequisite that the JWT plugin is required, but does not explain return values, side effects (e.g., token storage), failure behavior, or whether credentials are sent securely. This is insufficient for a tool with no structured safety hints.

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, front-loaded sentence with no unnecessary words. It conveys the action and a key prerequisite efficiently, making it appropriately concise.

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

Completeness2/5

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

For a tool with no output schema and no annotations, the description is too thin. It states that a JWT token is obtained, but does not specify the response format, whether the token is automatically stored for subsequent requests, or how it interacts with related tools like jwt_set_token and auth_status. The description leaves important operational context unclear.

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%, with both username and password parameters documented as optional with env-variable fallback. The tool description does not add any additional parameter meaning, so the baseline of 3 applies because the schema already provides comprehensive parameter explanations.

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 tool authenticates with WordPress and obtains a JWT token, with a specific verb and resource. It also mentions the JWT plugin requirement, distinguishing it from sibling tools like jwt_validate, jwt_refresh, or jwt_token_info.

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 use for initial authentication to get a JWT token, but does not explicitly state when to use it over alternatives like jwt_validate or jwt_refresh. No exclusion or alternative guidance is provided beyond the plugin requirement.

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/c-sakel/wp-mcp-server'

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