Skip to main content
Glama
JamBelg

MCP GraphQL Sales Server

by JamBelg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging levelINFO
GRAPHQL_ENDPOINTNoThe GraphQL endpoint URLhttp://127.0.0.1:5001/graphql

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
graphql_queryA
Run a raw GraphQL query against the sales API.

Args:
    query: The GraphQL query string
    variables: Optional variables for the query

Returns:
    Dict containing the GraphQL response or error information
test_connectionA
Test the connection to the GraphQL endpoint.

Returns:
    Dict containing connection status
get_all_ordersA
Retrieve all orders with complete details.

Returns:
    Dict containing all orders or error information
get_order_by_idA
Retrieve a specific order by its ID.

Args:
    order_id: The order ID to search for

Returns:
    Dict containing the order details or error information
get_orders_by_customer_nameA
Retrieve all orders for a specific customer by name.

Args:
    customer_name: The customer name to search for

Returns:
    Dict containing the customer's orders or error information
get_orders_by_customer_idA
Retrieve all orders for a specific customer by ID.

Args:
    customer_id: The customer ID to search for

Returns:
    Dict containing the customer's orders or error information
get_total_spent_by_customerB
Get the total amount spent by a customer.

Args:
    customer_name: The customer name to calculate total spending for

Returns:
    Dict containing the total spent or error information
orders_after_dateA
Retrieve all orders after a given date (YYYY-MM-DD).
Note: This filters locally since the GraphQL schema doesn't have date filters.

Args:
    date: Date string in YYYY-MM-DD format

Returns:
    Dict containing filtered orders or error information
orders_between_datesA
Retrieve all orders between two dates (inclusive).

Args:
    start_date: Start date in YYYY-MM-DD format
    end_date: End date in YYYY-MM-DD format

Returns:
    Dict containing filtered orders or error information
get_order_summaryA
Get a summary of all orders including counts and totals.

Returns:
    Dict containing order summary statistics

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/JamBelg/MCP-graphql-Claude'

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