Skip to main content
Glama

willys_check_auth

Prevent authentication errors by checking whether a session is still valid before proceeding with cart and product operations.

Instructions

Kontrollera om en session fortfarande är giltig.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes
Behavior2/5

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

Without annotations, the description must disclose behavior, but it only states the basic check. It omits what happens for invalid sessions, return format, or side effects. It implies a read-only operation but does not explicitly say so.

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?

A single, focused sentence with no redundant words. It efficiently conveys the core purpose without unnecessary detail.

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?

Given no output schema and no annotations, the description should explain expected output or error behavior, but it doesn't. It is too sparse for fully autonomous use, though the tool is simple and the one parameter is straightforward.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one required parameter (sessionId) with no description, and schema description coverage is 0%. The description does not explain the parameter's origin, format, or how to obtain it. The parameter name is self-explanatory but no additional meaning is added.

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's function: checking session validity. It uses a specific verb 'Kontrollera' and a distinct resource (session validity), setting it apart from sibling auth tools like login/logout.

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?

No guidance is provided on when to use this tool or how it relates to login/logout or other session-related tools. It does not mention prerequisites, alternatives, or typical use cases.

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/oscarthroedsson/willys-mcp'

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