Skip to main content
Glama

Yumi PyPI Wheel Evidence

python_import_layout_evidence

Read-onlyIdempotent

Compares one exact PyPI artifact with public GitHub Python source and named consumer files pinned by a full commit or a caller-selected tag ref. Tag refs are resolved and rechecked before full-SHA static reads; results retain the original ref and resolved SHA, and unknown or ambiguous cases stay UNKNOWN.

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": {
      "release": "<release>",
      "source": "<source>",
      "targets": "<targets>",
      "consumers": "<consumers>"
    },
    "name": "python_import_layout_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
releaseYes
targetsYes
consumersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / consumers / items / oneOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "ref"
      +      ]
      +    },
      +    "required": [
      +      "commit"
      +    ]
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "commit"
      +      ]
      +    },
      +    "required": [
      +      "ref"
      +    ]
      +  }
      +]
    • addedInput schema / properties / consumers / items / properties / ref
      Added value: +{
      +  "maxLength": 255,
      +  "minLength": 11,
      +  "pattern": "^refs/tags/(?!.*\\.\\.)(?!.*//)(?!.*\\/$)(?!.*\\/\\.)(?!.*\\.(?:/|$))(?!.*\\.[Ll][Oo][Cc][Kk](?:/|$))[A-Za-z0-9][A-Za-z0-9._+/-]*(?![\\s\\S])",
      +  "type": "string"
      +}
    • changedInput schema / properties / consumers / items / required
      Previous value: -[
      -  "owner",
      -  "repo",
      -  "commit",
      -  "path"
      -]New value: +[
      +  "owner",
      +  "repo",
      +  "path"
      +]
    • addedInput schema / properties / source / oneOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "ref"
      +      ]
      +    },
      +    "required": [
      +      "commit"
      +    ]
      +  },
      +  {
      +    "not": {
      +      "required": [
      +        "commit"
      +      ]
      +    },
      +    "required": [
      +      "ref"
      +    ]
      +  }
      +]
    • addedInput schema / properties / source / properties / ref
      Added value: +{
      +  "maxLength": 255,
      +  "minLength": 11,
      +  "pattern": "^refs/tags/(?!.*\\.\\.)(?!.*//)(?!.*\\/$)(?!.*\\/\\.)(?!.*\\.(?:/|$))(?!.*\\.[Ll][Oo][Cc][Kk](?:/|$))[A-Za-z0-9][A-Za-z0-9._+/-]*(?![\\s\\S])",
      +  "type": "string"
      +}
    • changedInput schema / properties / source / required
      Previous value: -[
      -  "owner",
      -  "repo",
      -  "commit"
      -]New value: +[
      +  "owner",
      +  "repo"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the read-only/idempotent/open-world annotations, the description discloses real behavioral mechanics: tag refs are resolved and rechecked before full-SHA static reads, results retain both the original ref and resolved SHA, and ambiguous cases stay UNKNOWN. That is genuine provenance and determinism context. It stops short of describing error handling, rate limits, or cost of the open-world network reads.

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 tightly packed sentences with no filler; the comparison scope is front-loaded before the tag-resolution mechanics. The second sentence is dense with clause stacking but every clause carries information.

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?

For a four-parameter, deeply nested, no-output-schema tool, the description covers provenance semantics well but omits what 'compares' actually produces (no output schema to fall back on) and never explains the targets or sourceRoot parameters. An agent could call it but would be guessing about the result shape and the target list semantics.

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 description coverage is 0%, so the description must carry the burden, and it partially does: it explains that source/consumers accept either a full commit or a tag ref, and that consumers are named files. But 'targets' (1-32 module strings or objects) and 'sourceRoot' are never mentioned, leaving the largest array parameter undocumented in both places.

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 opens with a specific verb and three concrete resources: one exact PyPI artifact, public GitHub Python source, and named consumer files. It is clearly distinguishable from a wheel-fetching or network-evidence sibling, though it never names an alternative 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 implied by the scoping language ('one exact PyPI artifact', 'pinned by a full commit or a caller-selected tag ref'), which tells the agent the inputs must be pinned. However, there is no explicit when-to-use/when-not guidance and no routing to the sibling tools for adjacent tasks.

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