Skip to main content
Glama
grusingh

gurbani-mcp

by grusingh

get_shabad_by_line

Retrieve the complete Shabad from Sri Guru Granth Sahib by providing any line ID, returning all verses in order with Gurmukhi, transliteration, translation, and Ang reference.

Instructions

Given any line ID from the SGGS, return the complete Shabad (hymn) it belongs to — all lines in order, with Gurmukhi text, English transliteration, translation, and Ang reference. Use this after search_gurbani to expand a matching line into its full hymn context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
line_idYesAny BaniDB verse ID from the Shabad you want
Behavior4/5

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

With no annotations, the description carries the burden. It discloses that it returns all lines in order, with Gurmukhi, transliteration, translation, and Ang reference, which is the key behavioral output. It also implies it is a read-only operation by using 'return', and provides workflow context. It does not cover edge cases or errors, but for a simple read tool this is adequate.

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 two sentences, front-loaded with the core action and return details, and ends with a clear usage directive. Every word earns its place; no redundancy or fluff.

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

Completeness5/5

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

For a single-parameter, no-output-schema tool, the description covers all necessary context: input (line ID), action (return full Shabad), output structure (all lines, fields), and usage scenario (after search_gurbani). It is complete for an agent to select and invoke correctly.

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?

The schema already provides 100% coverage, describing line_id as 'Any BaniDB verse ID from the Shabad you want'. The tool description's 'Given any line ID from the SGGS' adds no new meaning beyond the schema. Baseline of 3 is appropriate.

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 the tool 'return the complete Shabad (hymn)' given a line ID, listing the output fields. It distinguishes itself from siblings by specifying it expands a single line into the full hymn, explicitly pointing to search_gurbani as the preceding step. This is a specific verb+resource+scope.

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?

The description explicitly says 'Use this after search_gurbani', giving a clear when-to-use context. It does not mention when-not-to-use or alternatives, but the workflow guidance is unambiguous enough for this lookup tool.

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/grusingh/gurbani-mcp'

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