Skip to main content
Glama

check_arm64_deps

Scan Python dependency manifests for arm64 compatibility issues, flagging packages without arm64 wheels and recommending workarounds for smoother deployment on Arm64 servers.

Instructions

Scan a dependency manifest for known arm64 compatibility issues.

Use this tool when a user wants to know whether their Python dependencies
will install on an Arm64 server (AWS Graviton, Google Axion, Ampere Altra,
Raspberry Pi 5), or when they ask why a package fails on arm64.

Args:
    file_content: Raw text of the dependency manifest.
    file_type: One of "requirements.txt", "pyproject.toml", or "Dockerfile".

Returns:
    {
      "checked": ["numpy", "tensorflow", ...],
      "issues": [
        {"package": "tensorflow", "severity": "warning",
         "message": "Official TensorFlow PyPI wheels are x86-only..."}
      ],
      "summary": "Checked 5 package(s): 1 warning(s)."
    }

Severity levels: "error" = no arm64 wheel at all (e.g. GPU-only packages);
"warning" = arm64 wheel exists but requires workaround;
"info" = wheel available but version constraint or system lib note applies.

Example: check_arm64_deps(content, "requirements.txt") flags cupy (error),
tensorflow (warning), and reports numpy arm64 wheel availability (info).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_typeNorequirements.txt
file_contentYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains return structure, defines severity levels (error/warning/info) with concrete meanings, and gives a realistic example of outputs for cupy, tensorflow, and numpy. This goes well beyond a bare 'scan' statement.

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?

The description is longer than average but every section earns its place: purpose, use case, arguments, return format, severity semantics, and example. It is well-structured and front-loaded with the core purpose before any detail.

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

Completeness5/5

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

Given there is no output schema and no annotations, the description provides a complete picture: what inputs are needed, what the return object looks like, how issues are categorized, and a concrete example. An agent has enough information to invoke the tool correctly and interpret results.

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

Parameters5/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 compensate for missing parameter documentation. It fully explains both parameters: file_content as raw manifest text, and file_type with exact allowed values ('requirements.txt', 'pyproject.toml', or 'Dockerfile'). It also demonstrates the call signature with an example.

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?

The opening sentence names a specific action and resource: scanning a dependency manifest for arm64 compatibility issues. It also clarifies the subject (Python dependencies) and target hardware (Arm64 servers like AWS Graviton), making it easy to distinguish from the unrelated sibling tools.

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?

The description explicitly states when to use the tool: when a user wants to know whether Python dependencies install on Arm64 or why a package fails on arm64. It provides clear context, but it does not mention exclusions or alternative tools, so it stops short of a full when-not/alternative guide.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jean-johnson-zwix/arm-code-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server