Skip to main content
Glama
subzeroid

hikerapi-mcp

get_v1_media_pk_from_url

Retrieve the media pk (ID) from an Instagram post URL. Provide a valid Instagram post URL to get its unique media identifier for further API operations.

Instructions

[GET /v1/media/pk/from/url] Attention! Use with (https://ins...ram.com/p/CA2aJYrg6cZ/)

Get Media pk from URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
Behavior2/5

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

No annotations are provided, and the description does not mention any behavioral traits like idempotency, authentication needs, or side effects. The tool likely performs a safe read, but this is not disclosed.

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 very concise, fitting in a single line plus a short note. It front-loads the HTTP method and path, which is useful for context. Every part serves a purpose.

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

Completeness2/5

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

The tool has no output schema, yet the description does not explain what the return value (media pk) looks like. It also lacks information on error conditions or edge cases, making it incomplete for an agent to reliably use.

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 context beyond the schema by specifying the expected URL pattern via an example (truncated). However, it does not explain the exact format or any constraints on the URL 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 clearly states 'Get Media pk from URL', specifying the action and resource. It distinguishes from siblings like 'get_v1_media_by_url' by focusing on extracting the media primary key. The note with an example URL further clarifies the input.

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 an example URL but does not explicitly state when to use this tool versus alternatives such as 'get_v1_media_pk_from_code'. No guidance on when not to use it or prerequisites.

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/subzeroid/hikerapi-mcp'

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