Skip to main content
Glama

Get endpoint

get_endpoint
Read-onlyIdempotent

Retrieve a sandbox webhook endpoint by slug to inspect its limits and current usage.

Instructions

Get one of this agent's sandbox endpoints by slug, with its sandbox limits and usage.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "get_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe endpoint slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.20.4
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.19.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description's only added behavioral fact is that the response includes sandbox limits and usage; it says nothing about error behavior for a missing slug or whether the result is cached.

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?

One sentence, front-loaded with the action and resource, with no redundant restatement of the title or annotations. Nothing could be removed without losing information.

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 one-parameter read tool with full annotation coverage this is close to complete, and it does gesture at the return payload ('sandbox limits and usage'). With no output schema, a slightly richer sketch of the response would push this higher, but nothing essential for 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?

Schema coverage is 100% for the single 'slug' parameter, so the schema already documents it. The description adds only the nuance that the slug must belong to this agent's own endpoints, which is a marginal gain over the schema text 'The endpoint slug'.

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 pairs a specific verb ('Get') with a specific resource ('one of this agent's sandbox endpoints'), and names the identifying key ('by slug') plus the payload it returns ('sandbox limits and usage'). It implicitly separates itself from list_endpoints by retrieving exactly one endpoint, though it does not name that sibling explicitly.

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 rather than stated: 'by slug' tells the agent this is the single-record lookup, and 'this agent's' scopes ownership. There is no explicit when-to-use versus list_endpoints or when-not guidance, and no mention of what happens if the slug is unknown.

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