Skip to main content
Glama

expand_container

Detect a container and read its elements in one call, enabling entity-list workflows without separate lookup steps.

Instructions

Detect a container and read its elements in one call (the entity-list workflow).

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": {
      "va": "<va>"
    },
    "name": "expand_container"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
pidNo
limitNo
fieldsNo
sessionNodefault
element_sizeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It conveys a read/detect nature but says nothing about failure behavior for non-container addresses, whether the operation has side effects, what permissions or session context are required, or what the returned 'elements' look like beyond what the output schema covers.

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?

A single front-loaded sentence with no filler. The parenthetical '(the entity-list workflow)' is jargon that consumes space without clarifying behavior, which is the only mild inefficiency.

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

Completeness3/5

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

The output schema exists, so return values need not be explained, but with six undocumented parameters and no annotations the definition is thin for a tool that combines detection and enumeration. An agent knows what the tool does at a high level but not how to parameterize it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters (va, pid, limit, fields, session, element_size), and the description mentions none of them. Fully undocumented parameters like 'fields', 'session' and 'element_size' (with non-obvious defaults 64 and 0) receive no compensating explanation, leaving the agent to guess at their meaning.

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 states a specific compound action: detect a container and read its elements in one call. This distinguishes it implicitly from the sibling detect_container (detection only) by emphasizing the combined detect-and-read behavior, though the term 'container' and 'entity-list workflow' are left undefined.

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?

The phrase 'in one call' implies this replaces a detect-then-read sequence, giving implied usage guidance. However, no sibling tools (detect_container, read) are named as alternatives and there is no statement of when not to use it or what happens when the address is not a container.

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