Skip to main content
Glama
mgwalkerjr95

Texas Grocery MCP

by mgwalkerjr95

session_status

Read-only

Check session health, token expiration, and credential status to decide whether to refresh before grocery operations.

Instructions

Get current session status including token lifecycle and credential storage.

Returns comprehensive session information:

  • authenticated: Whether session is valid

  • needs_refresh: Whether refresh is required now (token expired)

  • refresh_recommended: Whether proactive refresh is advised (< 4 hours remaining)

  • time_remaining_hours: Hours until token expires

  • expires_at: ISO timestamp of expiration

  • message: Human-readable status

  • credentials_stored: Whether HEB credentials are saved for auto-login

Use this to check session health before operations or to decide when to proactively refresh.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations provide readOnlyHint=true, and the description adds detailed behavioral context about what information is returned (token lifecycle, credential storage status, etc.), fully explaining the non-destructive read operation.

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 well-structured with a summary line and bullet points, but the bullet points listing each field are somewhat redundant given the output schema exists. Still efficient and front-loaded.

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 zero parameters, the description comprehensively covers the tool's purpose, output fields, and usage context. The presence of an output schema does not reduce the need for description, and the description adds value beyond schema field names by explaining semantics like 'refresh_recommended: Whether proactive refresh is advised (< 4 hours remaining)'.

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

Parameters5/5

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

No parameters exist (schema coverage 100%), so the description naturally covers all semantics by explaining the output. No additional parameter meaning is needed.

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 gets current session status, listing all relevant fields (authenticated, needs_refresh, etc.) and distinguishing it from sibling tools like session_refresh and session_clear.

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

Usage Guidelines5/5

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

Explicit guidance: 'Use this to check session health before operations or to decide when to proactively refresh.' This tells the agent when to use it and implies contexts like post-authentication or before expensive operations.

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/mgwalkerjr95/texas-grocery-mcp'

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