Skip to main content
Glama

fullTextAddressGeocoding

Convert any address into precise geographical coordinates, including latitude, longitude, and entrance points, using geocoding functionality.

Instructions

Converts the given address to coordinates (geocoding).

Args address (str): address to convert.

Returns: a list of coordinates

  • newLat: latitude

  • newLon: longitude

  • newLatEntr: latitude of the entrance

  • newLonEntr: longitude of the entrance

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes

Implementation Reference

  • MCP tool handler for 'fullTextAddressGeocoding' that validates input and delegates to TmapClient.fullAddressGeocoding
    @mcp.tool()
    async def fullTextAddressGeocoding(address: str) -> List | Dict:
      """Converts the given address to coordinates (geocoding).
    
      Args
        address (str): address to convert.
      
      Returns:
        a list of coordinates
        - newLat: latitude
        - newLon: longitude
        - newLatEntr: latitude of the entrance
        - newLonEntr: longitude of the entrance
      """
      assert len(address.strip()) > 0
    
      try:
        return await tmap_client.fullAddressGeocoding(address)
      except Exception as ex:
        return { "success": False, "error": str(ex) }
  • TmapClient method implementing the geocoding logic via HTTP GET to SK TMAP API endpoint
    async def fullAddressGeocoding(
      self,
      fullAddress: str,
      count: int = 10,
    ) -> List:
      path = f"{self.BASE_URL}/tmap/geo/fullAddrGeo"
      params = {
        "version": 1,
        "addressFlag": "F02", # accepts both street address and lot number address (지번)
        "fullAddr": fullAddress,
        "count": count,
        "format": "json",
      }
    
      return (await self._get(path, params)).get("coordinateInfo", {}).get("coordinate", [])
  • Docstring schema describing input (address: str) and output format (list of coordinates with lat/lon)
    """Converts the given address to coordinates (geocoding).
    
    Args
      address (str): address to convert.
    
    Returns:
      a list of coordinates
      - newLat: latitude
      - newLon: longitude
      - newLatEntr: latitude of the entrance
      - newLonEntr: longitude of the entrance
    """
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the basic operation (geocoding) and return structure, but lacks critical details: it doesn't specify whether this is a read-only operation, potential side effects, error handling, rate limits, authentication needs, or accuracy considerations. For a geocoding tool with zero annotation coverage, this is a significant gap in transparency.

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

Conciseness4/5

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

The description is efficiently structured with a clear purpose statement followed by Args and Returns sections. Every sentence earns its place by defining the tool's function and output format. However, the Returns section could be more concise by combining the list items into a single sentence, and the front-loading is slightly weakened by separating the purpose from the parameter details.

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?

Given the tool's moderate complexity (geocoding with one parameter), no annotations, and no output schema, the description is minimally complete. It covers the basic operation and return structure but lacks context about the geocoding service's limitations, coordinate system, or how to handle ambiguous addresses. The absence of output schema means the description must explain returns, which it does adequately but not comprehensively.

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 description adds meaningful context for the single parameter 'address' by explaining it's 'address to convert,' which clarifies its purpose beyond the schema's minimal title 'Address.' However, with 0% schema description coverage and only one parameter, the description compensates adequately but doesn't provide format examples, validation rules, or edge cases. The baseline for one parameter with low coverage is appropriately met.

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 clearly states the tool's purpose: 'Converts the given address to coordinates (geocoding).' This specifies the verb ('converts') and resource ('address to coordinates'), making the function unambiguous. However, it doesn't explicitly differentiate from the sibling tool 'publicTransitRoutes', which appears to serve a different purpose (routing vs. geocoding).

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention the sibling tool 'publicTransitRoutes' or any other geocoding options, nor does it specify prerequisites, constraints, or typical use cases. The only implied usage is for address-to-coordinate conversion, but no contextual boundaries are defined.

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

Related 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/yunkee-lee/mcp-tmap'

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