Skip to main content
Glama

get_mpiarray

Retrieve the signature, parameters, notes, and examples for a PyLops-MPI array class so you can inspect its API and use it correctly; optionally select the PyLops-MPI version.

Instructions

Get signature, parameters, notes and examples of a PyLops-MPI array class.

pylops_mpi_version selects the PyLops-MPI version (e.g. "0.6"); default is the latest.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
pylops_mpi_versionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the version-selection behavior and its 'latest' default, but says nothing about what happens on an unknown name (error vs empty), whether the lookup is read-only, or whether a specific PyLops-MPI install is required.

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 short sentences, front-loaded with the purpose and followed by the one behavioral detail that matters. No filler; the stray line break is cosmetic.

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?

An output schema exists, so return values need not be re-explained. However, for a lookup tool with a required free-text key at 0% schema coverage, the missing guidance on what a valid `name` looks like and where to obtain it leaves a real gap.

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 0%, so the description must compensate for both parameters and only does so for one: pylops_mpi_version gets a format example ('0.6') and a default ('latest'). The required `name` parameter is left entirely unexplained — no hint about case sensitivity, qualified names, or where valid names come from.

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?

Specific verb+resource: 'Get signature, parameters, notes and examples of a PyLops-MPI array class' states both the action and the returned content. The 'array class' scope implicitly separates it from get_mpioperator/get_mpisolver siblings, though it never names or contrasts them 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 only implied: an agent infers it should call this to inspect a known array class by name. There is no guidance on when to prefer this over list_mpiarrays for discovery, nor any prerequisite (e.g. that the name must be a valid registered class).

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