Skip to content

MCP Tool Descriptions are not contained in the Agent instructions #18

@g3force

Description

@g3force

We expect the tool descriptions to be passed to the agent so that they don't have to be explicitly described in the prompt.

However, the tool descriptions for the cross-selling showcase look like this:

Functions:
get_customer_crm_data: {'customer_id': {'title': 'Customer Id', 'type': <Type.STRING: 'STRING'>}} -> None
get_all_customer_data: {} -> None
send_message: {'customer_id': {'title': 'Customer Id', 'type': <Type.STRING: 'STRING'>}, 'subject': {'title': 'Subject', 'type': <Type.STRING: 'STRING'>}, 'body': {'title': 'Body', 'type': <Type.STRING: 'STRING'>}} -> None
get_insurance_products: {} -> None
get_product_details: {'product_id': {'title': 'Product Id', 'type': <Type.STRING: 'STRING'>}} -> None
get_products_by_segment: {'segment': {'title': 'Segment', 'type': <Type.STRING: 'STRING'>}} -> None

Unfortunately, this is an issue in the Google ADK… We are already creating an additional description for sub-agents. We will need to do the same for MCP tools or even better fix it upstream.

Some investigation was done here: #15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions