Skip to main content
Glama

create_static_library

Build a static library archive from specified object files, with optional flags and timeout, to package compiled code for linking.

Instructions

Create a static library archive from object files.

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": {
      "object_files": "<object_files>",
      "output": "<output>"
    },
    "name": "create_static_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagsNorcs
outputYes
timeoutNo
object_filesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.7/5.0
Behavior2/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 does not disclose whether an existing archive at the output path is overwritten or appended to, what tool is used under the hood (ar), whether parent directories are created, or how the timeout is enforced—all meaningful behaviors for a file-producing mutation tool.

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 zero filler, so structure is good. It is terse to the point of under-specification rather than verbose, which is a content problem more than a structure one.

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

Completeness2/5

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

For a 4-parameter, unannotated, no-output-schema build tool, the description is far too thin: it explains neither the ar flag semantics nor the overwrite/return behavior an agent needs to call it safely and correctly.

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

Parameters2/5

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

Schema description coverage is 0% across 4 parameters, so the description must compensate. It only implicitly covers 'object_files' and 'output'; the 'flags' parameter (default 'rcs', an ar-specific flag string) and 'timeout' are never explained, and this is the most important gap for correct invocation.

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?

States a specific verb ('Create') and resource ('static library archive') plus the input source ('from object files'), which is enough to distinguish it from the compile_*/elf_to_* siblings. It does not explicitly name a sibling or scope boundary, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives such as elf_to_bin, elf_to_hex, or the compile_* tools, nor any stated prerequisites (e.g., that object files must already exist). Usage must be inferred entirely from the name.

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