Skip to main content
Glama

Read the portal's own configuration

portal_config

Read project, region, environment, and cluster registration details before adding resources, including IDs to use and whether a cluster is already registered.

Instructions

Every project with its id, its regions and their environment mappings, and every registered cluster with its context, its API server and whether management is on. This is what to read BEFORE registering anything — the ids the other configuration verbs take are here, and so is the answer to “is it already registered?”

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it only implicitly signals a read by describing what is returned. It does not explicitly state that nothing is mutated, whether this requires authentication or a reachable portal, or how large/complete the result is. The enumeration of returned fields is useful behavioral context but not a full disclosure for an unannotated tool.

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 sentences, front-loaded with the returned content and then the reason to call it, with no filler paragraphs. The closing rhetorical phrasing about 'is it already registered?' is slightly ornate but still earns its place by naming a concrete use case.

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 and no parameters, so the description must sketch the return shape, and it does so at the field level (project ids, regions, environment mappings, cluster contexts, API server, management flag). An agent can decide to call it and interpret the result. It could say more about whether output is a snapshot or live, and about size, for a full 5.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline applies. Nothing in the description misleads about inputs, and it implicitly conveys that the read is unfiltered and always full-scope.

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?

Names the resource precisely and enumerates what the payload contains: projects with ids, regions with environment mappings, registered clusters with context, API server and management flag. That is far better than a restatement of the name. It stops short of distinguishing itself explicitly from look-alike siblings such as config_read or clusters, so it is clear but not fully differentiated.

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

Usage Guidelines4/5

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

Gives a concrete trigger and ordering: call this BEFORE registering anything, to obtain the ids the other configuration verbs expect, and to answer whether something is already registered. That is real when-to-use guidance tied to downstream actions. It does not state any exclusions or name the alternative tool to use once registration data is already in hand.

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