Skip to main content
Glama
YourAppSpace MCP Server

YourAppSpace MCP Server

Official
by yourappspace

get_table

Fetches an entity type by ID or table name so agents can inspect table schema details before modeling fields or managing rows.

Instructions

Fetch an entity type by id or table name.

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

Input Schema

NameRequiredDescriptionDefault
idOrNameNoTable id or table name.
tableNameNoTable name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and "Fetch" only weakly implies a read-only operation. It doesn't say what happens when the id or name doesn't match, whether one identifier overrides the other, whether permissions are required, or what the response contains.

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?

A single front-loaded sentence with zero filler; the lookup mechanism is stated immediately. Nothing is padded or repeated.

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 two-parameter read tool with no output schema or annotations, this is minimally adequate but leaves real gaps: neither-parameter behavior, identifier precedence, not-found handling, and relationship to list_tables are all unaddressed.

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 description coverage is 100%, so the schema already explains idOrName and tableName, making 3 the baseline. The description adds only a slight restatement that identification can happen via id or name, without clarifying precedence or what happens if both (or neither) are given.

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?

States a specific verb ("Fetch") and resource, and the phrase "by id or table name" tells an agent what the two parameters identify. The only fuzziness is terminology: the tool is named get_table but the description calls the resource an "entity type," which may make an agent wonder whether the return value is a schema definition or table metadata.

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 when-to-use guidance and no mention of the obvious alternative, list_tables, for enumerating tables before fetching one. It also doesn't state the prerequisite that at least one identifier should be supplied, which matters because the schema marks both parameters optional.

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