Skip to main content
Glama

Portkey MCP by usefulapi

Get config

portkey_get_config
Read-only

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

Input Schema

NameRequiredDescriptionDefault
slugYesThe config slug or id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema 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. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful scope ('including its routing rules') and the underlying API mapping, but says nothing about error behavior when the slug is missing, permissions, or rate limits.

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?

Two tight sentences with the resource and lookup key front-loaded. The trailing 'Portkey: GET /configs/{slug}' endpoint mapping is mildly redundant but cheap and aids API correlation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with no output schema, the description conveys the lookup key and return scope ('including its routing rules'). Minor gaps around not-found behavior, but nothing essential to correct invocation is missing.

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

Parameters3/5

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

With a single parameter at 100% schema description coverage, the schema already documents the slug/id input, so baseline 3 applies. The description's '(or id)' restates rather than extends the schema's 'config slug or id'.

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 verb and resource ('Get a single gateway config by slug (or id)') and clarifies what is returned ('including its routing rules'). It implicitly contrasts with the sibling list tool via 'single', but never names portkey_list_configs, so sibling differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is implied by the 'single config by slug' framing, which suggests this is the lookup path once a slug is known. However, there is no explicit when-to-use guidance, no statement of when to prefer it over portkey_list_configs, and no prerequisites mentioned.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.