Skip to main content
Glama

fragments

Calculate the number of fragments an object splits into during transport based on object bytes and usable frame payload.

Instructions

How many fragments an object becomes on a transport, and whether fragmentation is therefore mandatory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_bytesYes
frame_payloadYesusable payload bytes per frame
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It indicates the tool calculates fragment count and mandatory status, but it does not disclose side effects, authorization needs, error conditions, or whether the operation is read-only. For a computation tool, the lack of safety information is a gap.

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 a single, concise sentence that immediately conveys the tool's purpose with no extraneous words. It is well-structured and front-loaded.

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 simple 2-parameter tool, the description tells what the tool computes, but it lacks information about the return format (the output schema is absent). The agent must infer whether the result is a number, boolean, or structured object. This is a moderate completeness gap.

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 coverage is only 50% (frame_payload has a description). The tool description adds context by relating the parameters to object transport, but it does not explain what object_bytes is or provide details beyond the schema. It fails to compensate for the missing schema description of object_bytes.

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 description clearly states that the tool computes 'how many fragments an object becomes on a transport' and determines if fragmentation is mandatory. This is a specific verb+resource that distinguishes it from sibling tools like list_failure_families and reassembly_window.

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?

No guidance is given on when to use this tool versus alternatives. The description does not mention prerequisites, exclusions, or comparisons with sibling tools. The agent must guess the appropriate context.

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

Install Server

Other Tools

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/nickharris808/pqc-migration-mcp'

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