Skip to main content
Glama

Describe a portal action

describe_portal_action
Read-onlyIdempotent

The exact arguments (path_params, query, body) a portal action takes and what it returns. Call this before run_portal_action.

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": {
      "action_id": "<action_id>"
    },
    "name": "describe_portal_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
action_idYesAn action_id from search_portal_actions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 description help. The description adds that this is a pre-flight introspection step whose output is contingent on the action, which is useful context, but says nothing about error behavior for unknown action_ids or output format specifics.

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?

Two short sentences, capability first and the call-ordering instruction second. Nothing is padded or redundant.

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-only introspection tool with no output schema, the description is nearly sufficient: it tells the agent what information comes back and when to call it. The only real gap is the concrete form of the response (e.g., a schema-shaped object versus prose), which an agent may want to know before relying on it.

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% with a single required parameter already documented as "An action_id from search_portal_actions", so the schema does the heavy lifting. The description's mention of path_params, query and body describes the tool's output rather than its input, adding no further meaning to action_id itself.

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 names the resource (a portal action) and states precisely what it yields: the exact path_params, query and body arguments plus the return shape. That is a specific introspection capability rather than a restatement of the name, though the framing is a noun phrase rather than an explicit verb.

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?

"Call this before run_portal_action" gives explicit sequencing guidance that an agent can act on, and the action_id parameter description ties it to search_portal_actions, so the discovery flow is clear. It does not state when the tool can be skipped or what happens with invalid action_ids.

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