Skip to main content
Glama

my_get_text

Read-onlyIdempotent

Retrieve the full text of a Malaysian principal Act by its act number, extracted from its official PDF.

Instructions

Fetch the full text of a Malaysian principal Act (extracted from its official PDF).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
act_numberYese.g. ``883``.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
contentNo
eli_uriNo
pdf_urlNo
eli_noteNoMalaysia has not deployed ELI. eli_uri is the durable lom.agc.gov.my act page URL (https://lom.agc.gov.my/act-detail.php?language=BI&act={act_number}), keyed on the portal's own numeric act coordinate - never invented.
byte_sizeNo
text_noteNoExtracted from the official PDF with pypdf; minor layout artefacts (page numbers, column breaks) are possible.
act_numberYes
source_urlNo
dataset_noteNolom.agc.gov.my (Laws of Malaysia Online) is the Attorney-General's Chambers' official portal for Malaysian federal legislation. This MVP covers principal Acts only, addressed by their numeric act coordinate (e.g. 883); amendments and subsidiary legislation (P.U. (A)/(B) notices) are not yet covered. Malaysia has no ELI scheme; eli_uri carries the durable lom.agc.gov.my act page URL (see eli_note).
human_readable_citationNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds context about the source (extracted from official PDF) and the scope (principal Act), but does not disclose limitations such as whether 'full text' includes schedules or what happens for unavailable acts. This is acceptable given the annotation coverage, but not rich.

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, front-loaded sentence with no redundant words. It communicates the essential purpose and source efficiently. No filler or repetition of annotations/schema.

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?

The tool is simple (one parameter, output schema provided, good annotations). The description is adequate as a minimal viable explanation, but it omits usage context (e.g., when to choose this over my_get_act) and does not clarify what 'full text' encompasses. Given the availability of output schema and annotations, this is a clear but not exhaustive description.

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?

The schema provides only an example ('e.g. ``883``') for the act_number parameter, not a semantic definition. The description's mention of 'Malaysian principal Act' implicitly clarifies that act_number refers to the act's number, adding meaning beyond the schema. This helps an agent understand how to fill the parameter.

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 uses a specific verb ('Fetch') and identifies a clear resource ('full text of a Malaysian principal Act'), which gives a precise purpose. It does not explicitly distinguish from the sibling tool my_get_act, but the name and description imply a focus on text content rather than the act object itself.

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 tool versus the sibling my_get_act, nor any mention of exclusions or prerequisites. The description simply states what the tool does, leaving the agent to infer usage context from the tool name and description alone.

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/matematicsolutions/my-eli-mcp'

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