Skip to main content
Glama

Portkey MCP by usefulapi

Server Details

Read AI-gateway analytics, configs, virtual keys, workspaces and users; log request feedback.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
70.7% over 57 days
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

TDQS

A3.9/5.0

Scored across 16 tools

Disambiguation5/5

Every tool targets a distinct resource or analytics operation; the list/get pairings are standard and clearly separated by resource type. No two tools appear to do the same thing.

Naming Consistency5/5

All tools follow a consistent portkey_<verb>_<resource> pattern using snake_case. The verbs are limited to list, get, and create, and the resource names are consistently ordered.

Tool Count4/5

Sixteen tools is slightly above the ideal 3-15 range, but each tool maps to a distinct resource or endpoint and none feel redundant. The count is manageable for an admin/observability server.

Completeness4/5

The read surface is strong: every major resource has list and get coverage, plus analytics and feedback logging. The main gap is the lack of create/update/delete operations for most managed resources, but for an inspection-focused tool this is a workable limitation.

Available Tools

16 tools
portkey_create_feedbackCreate feedback
Destructive
Inspect

WRITES a feedback record into the Portkey account, attached to a request/trace by trace_id. Use for logging a quality score (typically -10..10) with an optional weight (0..1) and metadata. Portkey: POST /feedback.

ParametersJSON Schema
NameRequiredDescriptionDefault
valueYesFeedback score, typically -10..10.
weightNoRelative weight of this feedback, 0..1.
metadataNoArbitrary metadata key/values.
trace_idYesThe request/trace id to attach feedback to.
portkey_get_analytics_graphGet analytics graph
Read-only
Inspect

Get a time-series analytics graph for a single metric (cost, requests, tokens, latency, error-rate, cache-hit-rate, …) over a time window. Optionally scope by virtual keys, configs, or metadata. Portkey: GET /analytics/graphs/{metric}.

ParametersJSON Schema
NameRequiredDescriptionDefault
metricYesWhich metric graph to return.
configsNoComma-separated config slugs to scope the graph.
metadataNoJSON string of metadata key/values to scope the graph.
total_unitsNoBucket size for the series, e.g. "day" or "hour".
virtual_keysNoComma-separated virtual key slugs to scope the graph.
time_of_generation_maxYesEnd of the window (ISO8601, format YYYY-MM-DDTHH:MM:SS±HH:MM).
time_of_generation_minYesStart of the window (ISO8601, format YYYY-MM-DDTHH:MM:SS±HH:MM).
portkey_get_analytics_groupGet analytics group
Read-only
Inspect

Get grouped analytics (aggregated by models, users, or metadata) over a time window. Portkey: GET /analytics/groups/{group}.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupYesDimension to group the analytics by.
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
time_of_generation_maxYesEnd of the window (ISO8601, format YYYY-MM-DDTHH:MM:SS±HH:MM).
time_of_generation_minYesStart of the window (ISO8601, format YYYY-MM-DDTHH:MM:SS±HH:MM).
portkey_get_api_keyGet API key
Read-only
Inspect

Get a single API key's metadata by id (the secret is never returned). Portkey: GET /api-keys/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe API key id.
portkey_get_configGet config
Read-only
Inspect

Get a single gateway config by slug (or id), including its routing rules. Portkey: GET /configs/{slug}.

ParametersJSON Schema
NameRequiredDescriptionDefault
slugYesThe config slug or id.
portkey_get_userGet user
Read-only
Inspect

Get a single user by id. Portkey: GET /users/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe user id.
portkey_get_virtual_keyGet virtual key
Read-only
Inspect

Get a single virtual key by slug, including its provider + limits. Portkey: GET /virtual-keys/{slug}.

ParametersJSON Schema
NameRequiredDescriptionDefault
slugYesThe virtual key slug.
portkey_get_workspaceGet workspace
Read-only
Inspect

Get a single workspace by slug/id. Portkey: GET /workspaces/{id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe workspace slug or id.
portkey_list_api_keysList API keys
Read-only
Inspect

List API keys in the organization/workspace (metadata only — secrets are never returned). Portkey: GET /api-keys.

ParametersJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
workspace_idNoScope keys to a workspace id/slug.
portkey_list_audit_logsList audit logs
Read-only
Inspect

List audit log entries (admin actions across the organization). Portkey: GET /audit-logs.

ParametersJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
portkey_list_configsList configs
Read-only
Inspect

List gateway configs (routing/fallback/retry/cache rulesets applied to requests). Portkey: GET /configs.

ParametersJSON Schema
NameRequiredDescriptionDefault
workspace_idNoScope configs to a workspace id/slug.
portkey_list_user_invitesList user invites
Read-only
Inspect

List pending user invitations to the organization. Portkey: GET /user-invites.

ParametersJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
portkey_list_usersList users
Read-only
Inspect

List users in the organization. Filter by role or email. Portkey: GET /users.

ParametersJSON Schema
NameRequiredDescriptionDefault
roleNoFilter users by role (e.g. admin, member).
emailNoFilter users by email address.
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
portkey_list_virtual_keysList virtual keys
Read-only
Inspect

List virtual keys (the aliases that map to provider credentials + budget/rate limits used in requests). Portkey: GET /virtual-keys.

ParametersJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
portkey_list_workspace_membersList workspace members
Read-only
Inspect

List members of a workspace (users + their roles). Portkey: GET /workspaces/{id}/members.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe workspace slug or id.
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.
portkey_list_workspacesList workspaces
Read-only
Inspect

List workspaces in the organization. Portkey: GET /workspaces.

ParametersJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 16 tool updates
    • Changedportkey_create_feedback1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_analytics_graph1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_analytics_group1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_api_key1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_config1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_user1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_virtual_key1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_get_workspace1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_api_keys1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_audit_logs1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_configs1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_user_invites1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_users1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_virtual_keys1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_workspace_members1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedportkey_list_workspaces1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 16 tool updates
    • First observedportkey_create_feedback
    • First observedportkey_get_analytics_graph
    • First observedportkey_get_analytics_group
    • First observedportkey_get_api_key
    • First observedportkey_get_config
    • First observedportkey_get_user
    • First observedportkey_get_virtual_key
    • First observedportkey_get_workspace
    • First observedportkey_list_api_keys
    • First observedportkey_list_audit_logs
    • First observedportkey_list_configs
    • First observedportkey_list_user_invites
    • First observedportkey_list_users
    • First observedportkey_list_virtual_keys
    • First observedportkey_list_workspace_members
    • First observedportkey_list_workspaces

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.