Skip to main content
Glama
WebCake Storefront MCP

WebCake Storefront MCP

by vuluu2k

get_current_context

Read-only

Displays the current connection context, including site ID, API URL, session, and account details, so you can confirm you're working on the right WebCake storefront site.

Instructions

Show current connection context: which site_id, API URL, session, and account info. Call this first to confirm you're working on the right site

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_current_context"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.8.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.31.8

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already signals a safe read operation. The description adds useful context by listing what information is exposed (site_id, API URL, session, account info) and positioning the call as a validation step, though it does not discuss sensitivity or output format.

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 two short sentences, front-loaded with the tool's purpose and followed by actionable usage guidance. Every phrase contributes to understanding what the tool does and when to call it.

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?

This is a simple, read-only, parameterless tool, and the description provides enough detail: the context fields returned and the recommended first-call workflow. No output schema exists, but the listed fields make the return content sufficiently clear for an agent.

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

Parameters4/5

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

With zero parameters, there is no parameter semantics burden and the baseline score is 4. The description adds no parameter details, which is appropriate for a parameterless tool.

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 states a specific action and resource: showing current connection context. It enumerates the returned context fields (site_id, API URL, session, account), which helps distinguish it from a generic site-info tool, though it does not explicitly name a sibling for contrast.

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?

It gives clear usage guidance: 'Call this first to confirm you're working on the right site.' This establishes when to use the tool, but does not mention when not to use it or explicitly name alternatives such as get_site_info.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.