Skip to main content
Glama

Show this Edgegap MCP server's configuration

edgegap_context
Read-onlyIdempotent

Reports the Edgegap API target, version, hosting type, guardrails, rate limits, and session token status so agents can verify permissions before billable actions or fix token failures.

Instructions

Report which Edgegap API this server talks to, its version, whether it is the local or hosted server, and the guardrails in force: read-only mode, application allowlist, max_duration ceiling, the agent deployment cap, the tag forced onto every deployment, and which tools support dry_run. Also gives the egress terms per hosting type, the API rate limits and webhook rules for backend code, and says whether this session has a usable token and, if not, why and how to fix it. Call it first when unsure what this session is allowed to do, before anything billable, or when tool calls fail with a token problem. Makes no API call unless check_token is true, and never shows the token.

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": "edgegap_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_tokenNoMake one read-only API call (list one application) to confirm Edgegap accepts the token. Default false.

Output Schema

NameRequiredDescriptionDefault
serverNo
pricingNo
api_hostNo
read_onlyNo
transportNo
api_limitsNo
guardrailsNo
skills_packNo
api_base_urlNo
forced_deploy_tagNo
max_duration_ceiling_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.4
    • addedOutput schema / properties / api_limits
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.19.0
    • addedOutput schema / properties / pricing
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  3. Changed2 schema fields changedv0.12.0
    • addedInput schema / properties / check_token
      Added value: +{
      +  "description": "Make one read-only API call (list one application) to confirm Edgegap accepts the token. Default false.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "api_base_url": {
      +      "type": "string"
      +    },
      +    "api_host": {
      +      "type": "string"
      +    },
      +    "forced_deploy_tag": {
      +      "type": "string"
      +    },
      +    "guardrails": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "max_duration_ceiling_minutes": {
      +      "type": "number"
      +    },
      +    "read_only": {
      +      "type": "boolean"
      +    },
      +    "server": {
      +      "type": "string"
      +    },
      +    "skills_pack": {
      +      "type": "string"
      +    },
      +    "transport": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Addedv0.5.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint true and openWorldHint false, so the safety profile is partly covered, but the description adds material facts beyond them: the tool makes no network call unless check_token is true, the token is never echoed back, and it reports the guardrails currently in force. That conditional-side-effect disclosure is precisely the kind of context annotations cannot express.

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?

Front-loaded with the verb and purpose, then the guardrail inventory, then the invocation conditions, so the reader hits the essentials first. It is dense rather than padded, though the long enumeration of egress terms, rate limits and webhook rules makes it heavier than strictly necessary for a single-parameter tool.

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

Completeness5/5

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

With an output schema present the description need not document return values, and it still covers the behavioral contract: what is reported, the network-call gating, token non-disclosure, and when to invoke it. Nothing an agent needs in order to call this correctly 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?

The single parameter is fully documented in the schema, so the baseline is 3. The description largely restates that contract ('Makes no API call unless check_token is true') and adds only the privacy assurance about the token, so it does not materially deepen parameter meaning beyond the schema.

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?

The description opens with a concrete verb and resource ('Report which Edgegap API this server talks to') and then enumerates the exact payload: version, local vs hosted, read-only mode, allowlist, max_duration ceiling, deployment cap, forced tag, dry_run-capable tools, egress terms, rate limits and token state. A config-report tool is unmistakable against write-oriented siblings such as edgegap_create_app or edgegap_deploy, and the 'call it first' framing separates it from edgegap_validate_server_config.

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?

Three explicit trigger conditions are given: when unsure what the session is allowed to do, before anything billable, and when tool calls fail with a token problem. This tells the agent both when to reach for it and why it should precede other operations, which is exactly the routing guidance the dimension asks for.

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