Skip to main content
Glama

List a service's operations

get_api_endpoints
Read-onlyIdempotent

List the operations one service exposes: HTTP endpoints, GraphQL fields, socket events. Call it when unsure which operations a service has or whether one exists. For the types of a known endpoint, use get_endpoint_types. When you already know the operation and need its producer or its consumers, use get_operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoYour repo as owner/repo (git remote) or just the repo name. Resolves which Carrick project to query.
methodNoFilter by operation label: HTTP method (GET, POST), GraphQL kind (QUERY, MUTATION, SUBSCRIPTION), or socket direction (CLIENT->SERVER, SERVER->CLIENT, UNKNOWN). UNKNOWN also selects HTTP routes whose verb the scan could not read; each row names its protocol.
projectNoCarrick project slug to query. Omit to auto-resolve via `repo`, or omit both when the workspace has one project.
serviceYesService name to look up (fuzzy match by repo name, service name, or trailing segment)
path_containsNoFilter operations whose path, field, or event name contains this substring

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description. The description adds only the multi-protocol scope (HTTP/GraphQL/socket), which is contextual rather than behavioral; it says nothing about result volume, pagination, or truncation on a service with many operations. With annotations carrying the behavioral burden, 3 is appropriate.

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?

Three sentences, each doing distinct work: purpose with scope, entry condition, then two explicit routing alternatives. Front-loaded with the purpose and free of restated name/title filler.

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?

There is no output schema, so the description is the only place return shape could be signaled; it names the protocol kinds but not what a row contains or how large a result set can get. Otherwise it is complete for a read-only, filtered listing tool whose annotations already cover safety. Minor gap keeps it just short of 5.

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?

Schema description coverage is 100% and all five parameters carry substantive descriptions (repo resolution, method label semantics including the UNKNOWN case, service fuzzy match, path_contains substring). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 operations one service exposes) and enumerates the exact scope it covers: HTTP endpoints, GraphQL fields, socket events. That enumeration lets an agent distinguish it from sibling listers like get_endpoint_types or get_operation without opening a 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 trigger ('call it when unsure which operations a service has or whether one exists') and then routes to two named alternatives with the condition that selects each: get_endpoint_types for types of a known endpoint, get_operation for producer/consumers of a known operation. This is a complete when-to-use / when-not-to-use map.

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.