Skip to main content
Glama

Agentalog — Agent Auto Log

Get listing readme

get_listing_readme
Read-onlyIdempotent

Collected project documentation. Available when get_listing includes readme_api; 404 when no copy was stored. Without an account, this call has no open sample. A free account (API key, or OAuth sign-in in the MCP client) gets 5 lookups per day. Beyond that, each call costs US$ 0.05 through x402 or prepaid credit. The text lives in R2 (mural-coleta). This call does not write and does not fetch GitHub. Same visibility as the listing page. Call it only when the listing page carries readme_api: a page without it has no README collected, and this route answers 404.

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": {
      "id": "<id>"
    },
    "name": "get_listing_readme"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesListing ID, from `Anuncio.id`.
api_passNoMAT-only private pass: mat_<32 random hex>_<64 random hex>. Generate and save before buying.
retry_keyNoOptional retry key, up to 80 ASCII characters; same read for five minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_pass
      Added value: +{
      +  "description": "MAT-only private pass: mat_<32 random hex>_<64 random hex>. Generate and save before buying.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / api_pass
      Removed value: -{
      -  "description": "MAT-only private pass: mat_<32 random hex>_<64 random hex>. Generate and save before buying.",
      -  "type": "string"
      -}
  3. Changed2 schema fields changed
    • addedInput schema / properties / api_pass
      Added value: +{
      +  "description": "MAT-only private pass: mat_<32 random hex>_<64 random hex>. Generate and save before buying.",
      +  "type": "string"
      +}
    • addedInput schema / properties / retry_key
      Added value: +{
      +  "description": "Optional retry key, up to 80 ASCII characters; same read for five minutes.",
      +  "type": "string"
      +}
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes well beyond them with 404 behavior, the 5-lookups-per-day free tier, the US$0.05 x402/prepaid cost, auth options, and visibility parity with the listing page. The one weakness is restating 'does not write,' which the annotations already establish, and leaving the returned text format unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core gating rule is stated twice — once at the start ('Available when get_listing includes readme_api; 404 when no copy was stored') and again in the final sentence — which is redundant. The R2 bucket name is low-value detail that dilutes an otherwise front-loaded, well-ordered description.

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 read-only, no-output-schema tool, the description covers prerequisites, cost, error behavior, and visibility, which is nearly everything needed to call it correctly. Only the return payload shape (e.g., raw markdown text) is left implicit.

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 coverage is 100%, with id, api_pass, and retry_key all documented in the schema, including the five-minute retry window. The description adds no meaning about any of the three parameters, so the baseline 3 applies.

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 identifies the resource as 'Collected project documentation' tied to a listing and clarifies the text lives in R2, so an agent can tell it apart from get_listing metadata. It never states the verb directly ('returns the stored README'), which keeps it just short of a crisp verb+resource statement.

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

Usage Guidelines5/5

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

It gives an explicit precondition ('Call it only when the listing page carries readme_api') and an explicit when-not ('a page without it has no README collected, and this route answers 404'), plus the prerequisite of an account or API key. The routing decision is fully determined by the text.

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.