Skip to main content
Glama

Get Available Services

get_available_services
Read-only

List the service codes the organization has cost data for — the exact service values accepted by query_costs and the other cost tools (e.g. "AmazonEC2", "AmazonS3", "AmazonRDS"). DEFAULTS TO AWS service codes; scope with a non-AWS connection's integration_id to get that provider's service names instead (the backend follows the integration's provider). Use this to discover valid service filters before querying. The list may include a few opaque ids the backend has not yet mapped to a friendly name. limit caps the list. Read-only. Example: {} returns every available AWS service code for the org.

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_available_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items to return in the list (default: no cap beyond the truncation guard).
integration_idNoScope to one or more provider connections (integration id). Omit for all connections.
response_formatNoconcise = key fields only (default, lower token cost); detailed = the full parsed payload.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds non-obvious backend behavior — AWS defaulting, provider-following for integration_id, and that some returned ids may be opaque/unmapped. It does not describe pagination or truncation behavior, which the truncation-guard reference in the schema only hints at.

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?

Purpose and default scope are front-loaded, followed by the provider-scope rule, the caveat about opaque ids, and a runnable example — every sentence carries information. The only near-redundancy is "Read-only," which restates the annotation, but it is one short clause.

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 zero-required-parameter discovery tool with no output schema, the description covers defaults, task framing, item shape (friendly names plus possible opaque ids), and a usage example. The remaining gap is the return container shape and whether truncation produces a marker, which matters given `limit` and the truncation guard.

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?

Schema coverage is already 100%, so baseline would be 3, but the description adds real meaning: it explains that integration_id changes which provider's service namespace is returned (backend follows the integration's provider) rather than merely filtering results. It also notes `limit` caps the list, though the truncation guard itself stays unexplained.

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?

States a specific verb and resource (list the service codes) and explicitly ties the output to its consumer: "the exact `service` values accepted by query_costs and the other cost tools." Concrete examples ("AmazonEC2", "AmazonS3") and the AWS-default scope make it distinguishable from siblings like get_available_tag_keys or get_available_linked_accounts without opening any schema.

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?

Gives an explicit use case ("Use this to discover valid service filters before querying") plus the branching rule for non-AWS providers via integration_id. The caller knows both when to reach for this tool and how to redirect it to a different provider.

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.

Resources