Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read feature library

tzcloud_read_library
Read-onlyIdempotent

List the published code library, or read one entry by entry.

Any signed-in connection can call this. Your read uses the currently published version. history lists earlier versions and dates, never their files. contains or installed with held_only narrows a large list.

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

Input Schema

NameRequiredDescriptionDefault
fileNoEntry-relative file path. Omitted lists its files.
entryNoPublished entry from this call's list. Omitted lists the library. No version selection: only the currently listed version.
limitNoWith `file`, chunk size in Unicode code points, default 8000. Any `offset`, `limit` or `stamp` enables chunking. None reads the whole file.
stampNoWith `file`, the previous chunk's SHA-256 stamp. Required for nonzero offset. A changed file gives `context_changed`, requiring offset 0 without a stamp.
offsetNoWith `file`, Unicode code-point offset in the encoded content, default 0. Continuation uses `next_offset`. Nonzero requires `stamp`.
historyNoTrue adds earlier version numbers and publication/supersession times to an entry read, not earlier files. Default false.
containsNoCase-insensitive text in entry name or summary. `installed` entries return regardless. Empty or absent means no text filter.
held_onlyNoTrue returns only `installed` entries, with full rows and their current/newer/withdrawn status. Needs `installed`, else `invalid_request`. Default false.
installedNoRows from the folder manifest `system/manifest.json`: `{name, version, hash}`, with `hash` from `closure_hash`. Entries become `current`, `newer` or `withdrawn`. Other served entries are `not_held`. The application manifest's `packages` entries take `name` and `version` alone, with no hash.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent and closed-world, so the description is not carrying the safety burden; it adds real behavior instead — any signed-in connection may call, reads always resolve to the currently published version with no version selection, and `history` returns version numbers and dates but never earlier files. These are constraints an agent cannot get from annotations. It does not describe pagination/chunking behavior at the top level, which leaves a modest 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?

Five short sentences, front-loaded with the core verb/resource and mode switch, followed by access, version semantics, and filtering. Every sentence adds information not already in the schema or annotations.

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 9-parameter, no-output-schema read tool, the description covers access requirements, versioning semantics, the history limitation, and list-narrowing. Chunked file reading is the one sizable behavior delegated wholly to the schema, but the schema documents it thoroughly, so overall completeness is good.

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%, so the baseline would be 3; the description earns above that by explaining cross-parameter interactions the schema states only per-field, notably that `history` never returns earlier files and that `held_only` requires `installed`. The chunking parameters (offset/limit/stamp) are left entirely to the schema, which is reasonable given their detailed descriptions.

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 and resource plus the two modes of operation: "List the published code library, or read one entry by `entry`." An agent immediately knows whether a given call yields a list or a single entry, and `entry` is named as the switch.

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 clear trigger conditions for the main modes and for the narrowing filters ("`contains` or `installed` with `held_only` narrows a large list"). It does not name what to use instead when access is unauthenticated or when a different tool is required, but there is no obvious alternative tool for this resource, so the gap is small.

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