Skip to main content
Glama

load_model_handle

Inspect feature schema, metrics, and metadata from a saved model bundle using an artifact name or experiment ID; loads the bundle without scoring rows.

Instructions

Inspect feature schema, metrics and metadata from a trusted saved model bundle. Supply an artifact_name or an experiment_id with a tracked artifact. This loads the bundle but does not score rows; use predict for inference.

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

Input Schema

NameRequiredDescriptionDefault
artifact_nameNoModel artifact name.
experiment_idNoExperiment ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the key boundary (loads and inspects, does not score rows) and the kind of data returned, but omits cost/loading behavior, error handling for a missing or untrusted bundle, and whether the load has any side effects.

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?

Three short sentences, zero filler, with the core capability front-loaded and the exclusion/alternative placed last where it is most useful for routing.

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 simple two-parameter inspection tool with no output schema, the description covers what it returns and what it will not do. Remaining gaps are modest: no note on which of the two identifiers takes precedence if both are passed, and no failure behavior.

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?

Schema coverage is 100% and both parameters are documented, so the baseline is 3. The description earns above baseline by establishing the either/or relationship between artifact_name and experiment_id, which the schema does not express since both are optional and independent.

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?

States a specific verb (inspect) and resource (a saved model bundle), and enumerates what is exposed: feature schema, metrics, metadata. It also explicitly contrasts with the predict sibling, so an agent can distinguish the two without opening either schema.

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 clear calling condition: supply either an artifact_name or an experiment_id with a tracked artifact. It names the alternative for inference (predict) and states what this tool does not do. It stops short of saying how to discover a valid artifact_name or what happens when neither parameter is supplied.

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